0 votes

I'm new to Godot and trying to learn about networking. It seems like every example I have found about multiplayer shows how to make a synchronous lobby system. I would like to make a simplified 3D template that allows the host to press play and load the game and clients can join when they want to.

If the host has their port forwarded. Then they could share their public ip to friends. Allowing a client to connect via join button when they enter the ip address. For now to keep it simple assume it just consists of a main menu where all the information is held. Like player name, ip address, port number, play and join buttons. Which will switch to a game scene where a player is instanced. game scene is blank with area light and uses a simple 3d cube mesh with camera for players.

Also, I am learning and prefer to use GDScript.

Any information on this is appreciated and thanks for your time.

in Engine by (18 points)

1 Answer

0 votes

The official demos repository has some simple examples here: https://github.com/godotengine/godot-demo-projects/tree/master/networking

by (28,795 points)
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.