Jump to content

WebRTS RTS game coding strategy for 2n +1 players


Nikos123
 Share

Recommended Posts

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!

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...