Polydus Posted September 20, 2017 Share Posted September 20, 2017 I made this game in phaser, it's hosted here: http://www.kongregate.com/games/polydus/endless-tank-war One of the problems I have though is that the game freezes when you click the mouse anywhere outside of the canvas (ie when the canvas loses focus). This doesn't happen when I run locally, only when it's hosted on a site like this. It un-freezes when you load another tab and go back again. It also doesn't happen every time, which is why I have no idea what is causing it. I think it could be fixed if I can disable the game on focus loss, but I don't see a way to do that. Thank you for your time! Link to comment Share on other sites More sharing options...
samme Posted September 20, 2017 Share Posted September 20, 2017 Phaser.Stage#disableVisibilityChange Taz 1 Link to comment Share on other sites More sharing options...
Polydus Posted September 23, 2017 Author Share Posted September 23, 2017 On 20/09/2017 at 5:57 PM, samme said: Phaser.Stage#disableVisibilityChange That was it, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts