Hey everyone,
I've just discovered about SmartFoxServer and wanted to know if it can fit my project.
So:
- Mr. X (our player) is in the main "zone" (MMO Room?) as every other players
- When Mr. X starts a fight, an instance of that zone is loaded with him + the enemy
- Now, other players aren't aware of Mr. X and he isn't aware of other players (except the enemy of course).
Is this *relatively* easy to implement using SFS? How would I start?
Thank you for your help!
Kind regards
Need some explanation about rooms
Need some explanation about rooms
Last edited by Jihaysse on 20 Oct 2021, 15:35, edited 1 time in total.
Re: Need some explanation about rooms
Hi,
yes isn't particularly difficult to implement with SFS2X.
You can use an MMORoom to host all the players and when two clients want to battle each other you can create a dedicated Room where they can play a private game, and then return to the original MMORoom. (Or they could be in two places at the same time, if needed)
I recommend taking a look at the examples and tutorials in this section of the docs:
http://docs2x.smartfoxserver.com/Exampl ... troduction
This is assuming you're using Unity on the client side, if not you will find similar examples for HTML, native iOS and Android etc...
Cheers
yes isn't particularly difficult to implement with SFS2X.
You can use an MMORoom to host all the players and when two clients want to battle each other you can create a dedicated Room where they can play a private game, and then return to the original MMORoom. (Or they could be in two places at the same time, if needed)
I recommend taking a look at the examples and tutorials in this section of the docs:
http://docs2x.smartfoxserver.com/Exampl ... troduction
This is assuming you're using Unity on the client side, if not you will find similar examples for HTML, native iOS and Android etc...
Cheers
Who is online
Users browsing this forum: No registered users and 45 guests