Skip to content

Peer to peer multiplayer sample in Urho3D using NAT punchtrough server and master server to retrieve/update active P2P sessions.

License

Notifications You must be signed in to change notification settings

ArnisLielturks/Urho3D-P2P-Multiplayer

Repository files navigation

CircleCI

Urho3D-P2P-Multiplayer

!NOTE

This requires urho3d/urho3d#2400 functionality

Configure

Make sure that you have correct NAT punchtrough server and P2P session master server addresses https://github.com/ArnisLielturks/Urho3D-P2P-Multiplayer/blob/master/Source/Samples/54_P2PMultiplayerExtended/P2PMultiplayerExtended.cpp#L71-L75

Build

Download all the files and drop them in Urho3D project folder. Build project as usual, if everything is correct, there should be a executable in the bin folder called "54_P2PMultiplayerExtended"

Launching

Project requires the following services to be set up first:

You can bring up the services with the help of terraform, see instructions here: https://github.com/ArnisLielturks/Urho3D-P2P-Multiplayer-Services

Both of those servers are available here:

Lobby

alt tag

In-game

alt tag

About

Peer to peer multiplayer sample in Urho3D using NAT punchtrough server and master server to retrieve/update active P2P sessions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published