Ladi Posted April 11, 2022 Share Posted April 11, 2022 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++. Quote Link to comment Share on other sites More sharing options...
Josh Posted April 11, 2022 Share Posted April 11, 2022 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 1 Quote 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 More sharing options...
Josh Posted April 11, 2022 Share Posted April 11, 2022 There's also a multiplayer example in the editor templates that sets up player movement and chat, but it's in Lua. 1 Quote 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 More sharing options...
tumira Posted April 12, 2022 Share Posted April 12, 2022 @Josh The documentation for networking is bugged. I get "404: Not Found" when I clicked on the Networking subtopics. Quote Link to comment Share on other sites More sharing options...
Josh Posted April 12, 2022 Share Posted April 12, 2022 Please make sure you are looking here: https://leadwerks.com/learn And not here: https://www.ultraengine.com/learn Quote 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 More sharing options...
tumira Posted April 12, 2022 Share Posted April 12, 2022 2 hours ago, Josh said: Please make sure you are looking here: https://leadwerks.com/learn And not here: https://www.ultraengine.com/learn Yup. You are correct 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.