Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

WebRTS RTS game coding strategy for 2n +1 players

$
0
0

The next stage or my webgl RTS game is peer to peer using WebRTC using likely peer.js.

 

Since I've not done this before I would like some advise on whether this is possible for 2n + 1 players and some code if possible to get me started.

 

Currently I am thinking that one player will have the master copy of word variables that is pushed to the other players. However I am worried this would not give me the performance of the normal Hub server strategy in non p2p games.

 

Thanks all, I'm sure this will be a hot topic!


Viewing all articles
Browse latest Browse all 388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>