Edgegap Lobby

The EdgegapLobbyKcpTransport uses Edgegap's Lobby Service to start relay sessions and manage lobbies for you. It uses KCP for the actual connection.

It is by far the easiest way to use relays and requires basically no setup, if all you need is peer-to-peer/player hosted lobbies with no matchmaking.

The lobby transport allows you to create/join lobbies and list available lobbies for players to select.

We provide a simple lobby UI example to let you hit the ground running


Setup couldn't be simpler, all you need to do is deploy a lobby service. You can either do this manually via the Edgegap API or use the built-in UI on the transport.

Once you have clicked the "Create&Deploy Lobby" button, a window will open:

Simply enter your edgegap API key (if you don't have one, clicking the "I have no api key?" button will conveniently direct you to the edgegap dashboard page where you can create one) and a unique lobby name of your choosing and hit create. It will take a brief moment, as it waits until the service is fully deployed, and then the lobby url on the transport will be filled out for you.

Once you've done that, you're all ready to go.

Last updated