0 votes


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

in Engine by (12 points)

Are you storing the client's IDs on the server?

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.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.