This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.

Multiplayer functionality for 1 on 1 dueling

glancedUpglancedUp Posts: 46Member

Hello :smiley:

I am planning to make a multiplayer game where 2 players will be dueling each other over the internet. This involves a player being able to extend and accept challenges to and from player who are online and have the game installed. (Even if they don't currently have the game on)

Does the current version of Godot have that kind of multiplayer functionality? If there is that kind of functionality, how to do it? And if Godot does not yet have it, would there be a plan to include it in the near future?

Thanks in advance :)

Best Answers

  • CalinouCalinou Posts: 376
    edited July 2017 Accepted Answer

    Godot 3.0 will feature high-level multiplayer with a client-server model. However, it will probably not feature NAT hole punching or UPnP in that release (since there is almost no prior art of this in open source software), which means the player hosting the server (which can be done from the client) will need to forward a port (in UDP) in order to make clients able to join (other than those coming from LAN).

    Alternatively, dedicated servers could be set to accept up to 2 clients, making 1-on-1 multiplayer possible without requiring one of the players to forward a port.

  • memermemer Posts: 39
    Accepted Answer

    A matchmaking server will be needed in either case because of the "Even if they don't currently have the game on" requirement.

Answers

  • CalinouCalinou Posts: 376Admin Godot Developer
    edited July 2017 Accepted Answer

    Godot 3.0 will feature high-level multiplayer with a client-server model. However, it will probably not feature NAT hole punching or UPnP in that release (since there is almost no prior art of this in open source software), which means the player hosting the server (which can be done from the client) will need to forward a port (in UDP) in order to make clients able to join (other than those coming from LAN).

    Alternatively, dedicated servers could be set to accept up to 2 clients, making 1-on-1 multiplayer possible without requiring one of the players to forward a port.

  • memermemer Posts: 39Member
    Accepted Answer

    A matchmaking server will be needed in either case because of the "Even if they don't currently have the game on" requirement.

Sign In or Register to comment.