0 votes

How hard would it be to implement multiplayer functionality? Is there any third-party plugins that would speed up progress. I've been looking through the UDP api that is available and it looks to be a pain to implement. Appreciate any help.

in Engine by (270 points)
edited by

Note that for a future version (maybe 3.0, but 2.1 is also a possibility), the networking API would be remade, making multiplayer a breeze.

2 Answers

0 votes

You can take a look at GDNet, which is an ENet wrapper for Godot. This means can you get easy reliable UDP, but note that ENet currently does not support IPv6 yet. But even with that UDP, you still need to implement lots of things yourself.

by (11,917 points)
0 votes

Yes online is some what of a pain, but mostly just connecting to people. I've based my last project's networking off of this demo. However, it doesn't handle things like connecting and disconnecting well. Like for example, sometimes my server would crash and the client had no idea. But overall it doesn't seem too hard to set up correctly, and the way packets work is actually very simple. Literally like reading/writing to a save file. Although netcode does require a different way of thinking/writing the game than single player games. Lots of things you take for granted have to be networked, so they sync across all clients.

by (846 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.