Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | LaythDAD |
Hello,
i trye to make a online game how player well be in separated lobby (by numbr of player 1vs1 or 2vs2 or 4vs4).
The player no need to select a lobby to join the game, the server will do that automatically.
sorry form my bad english
Are you storing the client’s IDs on the server?
RedBlueCarrots | 2020-09-15 06:07
And your question is…?
In principal, there’s nothing special about it: once a player connects to the server (if you’re using the HLN-API you can connect to the network_peer_connected
-signal), you’ll automatically add them to a game with free slots or create a new one if needed.
njamster | 2020-09-15 09:05