Jump to content

Setup for Multiplayer


Ladi
 Share

Recommended Posts

Before I start attempting to create a multiplayer game. Is there a tutorial on implementing multiplayer. I do not want to sound dumb but I see examples on connecting IP's but not sending packages. Any help would be wonderful. I use c++.

Link to comment
Share on other sites

The Steam peer to peer networking features are the easiest way to do this.

A lobby is used to broadcast that a game is available to join. Other players can join the lobby, and then you just start sending packets to other Steam IDs. If the original person who created the lobby leaves, it gets handed off to the next fastest connected person.

See Lobby and P2P in the documentation:
https://leadwerks.com/learn

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...