titmael Posted April 10, 2014 Share Posted April 10, 2014 Hi, I didn't find how to disable pause a game. If player change tab in browser, the game must continue to run but it's not the case. Thx Link to comment Share on other sites More sharing options...
rich Posted April 10, 2014 Share Posted April 10, 2014 // Phaser will automatically pause if the browser tab the game is in loses focus. You can disable that here:this.stage.disableVisibilityChange = true;Note that if you do something that stops requestAnimationFrame from running then the game will still pause. If this is an issue you need to swap to use setTimeOut instead. But try the above first. yovo 1 Link to comment Share on other sites More sharing options...
Recommended Posts