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
NetworBootstrap
configuring hosts and client peers automatically; - a command line parser configuring the network options at start;
- a custom node called
NetworkLink
setting up the network scene.
- Download and copy the files under the
res://addons/
directory in your project; you can optionally copy also theexample
subdirectory. - Open the
Project
panel and activate theNetworkBootsrap
plugin. - Configure the new
Application/Network
project settings. - Add the
NetworkLink
node to your scene. - Use the multiplayer keywords as described in Godot documentation.
See the README in the plugin directory for detailed instructions.