+1 vote

Hi, I want to make a multiplayer game. For now people can only play each other using local connections. So they will be a menu/lobby where available local game rooms will be shown in a list. The trouble is I don't know how to make clients check whether there are any rooms in the local connection. Should the clients listen to the specified port (like my defined DEFAULT_PORT constant), IP (like 127.0.0.1), or what? I have searched about this lobby multiplayer mechanisms but I found nothing :(

in Engine by (61 points)

I never experienced with multiplayer in Godot, but did you have a look at this? http://docs.godotengine.org/en/latest/learning/features/networking/high_level_multiplayer.html

1 Answer

0 votes

Use UDP to broadcast game status to LAN

by (16 points)

do you know how to automatically know the broadcast ip ? so the host can send to it and client can listen to it also

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 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 webmaster@godotengine.org with your username.