RubbleGames Posted August 9, 2017 Share Posted August 9, 2017 My latest Phaser game was just released to Newgrounds over the weekend, among other problems I've seen that clicking outside the game window freezes play. Only switching to a different tab and back will unfreeze the game. During development and on my own site clicking away from the browser would freeze the game, but bringing focus back to the browser will unfreeze it. Does anyone know why it's different on Newgrounds and if there's anything I can do to fix it? Link to comment Share on other sites More sharing options...
mattstyles Posted August 9, 2017 Share Posted August 9, 2017 Do newgrounds host your stuff in an iframe? Because that could very well lead to the difference you see in behaviour. Link to comment Share on other sites More sharing options...
RubbleGames Posted August 9, 2017 Author Share Posted August 9, 2017 Yes, it looks like they host it in an iframe. Any ideas how to fix this? Has anyone with a game on Newgrounds come across this? Link to comment Share on other sites More sharing options...
AntonBel Posted August 9, 2017 Share Posted August 9, 2017 I had this problem with iframe freezing. It happens when you use new versions of Phaser. Switch to 2.6.2 version it it will work fine. RubbleGames 1 Link to comment Share on other sites More sharing options...
samme Posted August 10, 2017 Share Posted August 10, 2017 phaser-ce/issues/236 BdR and RubbleGames 2 Link to comment Share on other sites More sharing options...
RubbleGames Posted August 10, 2017 Author Share Posted August 10, 2017 (edited) Thanks, I'll give that fix a try. Update: that worked for me, thanks very much Edited August 10, 2017 by RubbleGames update Link to comment Share on other sites More sharing options...
Recommended Posts