Jump to content

Random Odd Behavior Multiplayer


BrokenSkyDev
 Share

Recommended Posts

I am still working on my multiplayer game with Phaser and Eureca.io , i have got a decent amount further with the implementation i have got to a stage where i am fixing the back end and i have ID's sorted now (well i thought), i seem to be getting some very odd behavior from my second player some times movement will work fine then when i restart the server and the game the second player will shake and randomly flash around screen, when the game is reset after the win condition for other player has been met it seems to work fine this seems to be the case every time. When the second player is shaking i cannot control that player but the first player works fine and there does not seem to be any differences in the code for the players apart from controls, so not much to go on. The behavior of this issue is extremely random sometimes it will break twice in row,sometimes it will works four times in row etc.

 

Here is my code : https://github.com/jbwakeham/FVMGit

 

To see the behavior for yourself you will need Node JS, Express, Engine.io and Eureca.io or if people would like i can provide a GIF or small clip.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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