chris.daniel Posted March 3, 2017 Share Posted March 3, 2017 First off....everything is working correctly. But I have a question about how the render update is working. See.....I am testing across two open browser sessions in chrome; each are receiving socket messages to update the position of the players in the game....like the picture below.... Both of the open browsers are showing receipt of messages the whole time....But I have to actually be engaging with a window for that specific window to redraw the page. Bottom line...I cant seem to see the updates from screen 1 effecting screen 2 in real time....I have to go click on screen 2 at which point screen 2 immediately draws it correctly. Is there a quick way to explain what the rendering is doing? Im hoping that it would be pretty enlightening for me to understand this....maybe its simple, but I cant seem to figure whats happening. Quote Link to comment Share on other sites More sharing options...
Parasyte Posted March 3, 2017 Share Posted March 3, 2017 Disable this: http://melonjs.github.io/melonJS/docs/me.sys.html#pauseOnBlur Quote Link to comment Share on other sites More sharing options...
chris.daniel Posted March 4, 2017 Author Share Posted March 4, 2017 Perfect! Thanks! 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.