You should generally get a list of channels from the server first, and let the player choose which to join, or create a new game. If you're doing a quick match game and all channels are guaranteed to be your game instances, then joining a random channel is fine. I'd generally advise you to pass a level name though.
I'm looping here...
I want to reproduce the GameCenter behavior.
1st player create a game (create a channel with player limit = 2)
2nd player join the game
3rd player create a game (create a channel with player limit = 2)
etc...
But :
- When the first channel is created, it does not appear in the Channel List (except if the channel is created with JoinChannel() )
- when the first channel is created with JoinRandomChannel, the 2 first players did not see each other.
I'm not sure how to use the JoinRandomChannel.
Any help is appreciated.
regards