Let’s put that I’m making a moba game. Whenever there are 10 players queuing, a new game room (instance) will be created and they will be sent into that new game room just like a typical online game. So if there are 30 concurrent players, there will be a total of 3 game rooms running. right?
Can someone pls explain me in general how the process of creating a new room (instance) and putting the players there works. I’m struggling to find tutorials online as most of the tutorials are about client => host connections.
Here is my idea. Please clarify me if the idea is right or wrong. There will be a lobby server to which all the players will connect to queue the game. If the queue has reached 10 players, a new game instance with gameplay scene loaded will be run with some command line arguments, a new server connection will start there and the 10 players will be removed from lobby server connection and will have to connect to the new instance’s connection.