Godot addon simplifying and automating the setup of server/client pairs.
High level networking is very simple in Godot, but setting up a client/server pair is not so trivial. You need to set up project options and/or command line parsers to decide which instance of your application is the server and which are the clients, and the raw Godot interface doesn't help much with setting run-specific parameters.
This Godot plugin adds:
- a Project Setting section called Application/Network;
- an autoload singleton called
NetworBootstrapconfiguring hosts and client peers automatically; - a command line parser configuring the network options at start;
- a custom node called
NetworkLinksetting up the network scene.
- Download and copy the files under the
res://addons/directory in your project; you can optionally copy also theexamplesubdirectory. - Open the
Projectpanel and activate theNetworkBootsrapplugin. - Configure the new
Application/Networkproject settings. - Add the
NetworkLinknode to your scene. - Use the multiplayer keywords as described in Godot documentation.
See the README in the plugin directory for detailed instructions.