Balamurugan Posted July 7, 2018 Share Posted July 7, 2018 I am doing timer based games like spin wheel. if i minimize the browser window game is stopped spin wheel rotation is stopped. I don't want this feature in my game. when i minimize or browser is inactive still game want to spin, all functionality need to work. what can i do. Pleas e share your experience. Link to comment Share on other sites More sharing options...
rich Posted July 8, 2018 Share Posted July 8, 2018 There is nothing you can do. The browser will automatically stop updating tabs when it is minimized. All you can do is try and figure out how long it was 'paused' for when it comes back again, and then adjust all your game code to deal with this as if nothing has happened. The actual 'pausing' is impossible to prevent. Balamurugan 1 Link to comment Share on other sites More sharing options...
Balamurugan Posted July 9, 2018 Author Share Posted July 9, 2018 But in ES6 its working fine. But in ES5 Not working. Any possible ways there. Using pixi can i solve this problem. Link to comment Share on other sites More sharing options...
rich Posted July 9, 2018 Share Posted July 9, 2018 Phaser 3 will _not_ automatically pause the game for you, under any circumstances. If the browser pauses it that's for you to deal with. The exact same thing happens to Pixi as well. And indeed _any_ framework. Balamurugan 1 Link to comment Share on other sites More sharing options...
Balamurugan Posted July 11, 2018 Author Share Posted July 11, 2018 There is any other way there for that problem. How to solve this problem. Link to comment Share on other sites More sharing options...
Recommended Posts