Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Can it be possible making an peer-to-peer multiplayer on a coppercube engine, ive seen many coppercube examples with diffrent services to use, but can there be a more simple way of making a multiplayer way? |
||||
|
You can use Hamachi to create a local connection between two players. |
||||
|
Well it should be doable. Probably, you should look into something like WebRTC. https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API Obviously, CopperCube doesn't support it out of the box, unless you're using webgl version, but there are multiple ways to work around that: 1. Write another application that establishes connection and then get data to coppercube game using http or file system 2. Use webgl with some sort of wrapper like electron or auri to produce exe 3. If you good at cpp and own studio version, there might be WebRTC bindings |
||||
|
Ive recently tried using an apache server for an multiplayer game, you can acces it on itch.io https://coppercraftr.itch.io/coppercube-simple-multiplayer |
|