How viable is Godot for "server-less" multiplayer?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By user41420082
:warning: Old Version Published before Godot 3 was released.

If I want to make a game that I want to be playable over LAN without wanting either users to have to set up a dedicated server, would Godot be able to do it? If so, what are the relevant links I should be looking at to know more about it?

:bust_in_silhouette: Reply From: Calinou

If I want to make a game that I want to be playable over LAN without wanting either users to have to set up a dedicated server, would Godot be able to do it?

Yes. You just need to have a “listen server” mode, which basically creates a server in the client window.

If so, what are the relevant links I should be looking at to know more about it?

This is less commonly done than dedicated servers, so you won’t have as much documentation.

That said, Godot’s networking is expected to be improved for 2.2 and so will the documentation about it as well, probably.

So in other words, I have to make at least one client the server? How would this work if I want them to be kind of peer-to-peer? Like say, if a user joins a wifi network, their phone automatically joins the session? And the other users can quit and rejoin as well?

user41420082 | 2016-07-01 08:43