I am using unity client with colyseus server.
My game room has maxClients: 2
For now, i check if players.Count == 1 in OnUpdateHandler and e.isFirstState to start a match
Is there any method to check begin match event? Or could i use some state handle to do this?
Thank so much for this awesome game server!
[Unity Client] - Best practice to start a match
e.isFirstState is the most reliable way.
On Crash Racing I use a countdown on the state handler, and only start the game after the countdown is finished.
Thank so much @endel !