Jump to content

window minimize game is stopper how to prevent


Balamurugan
 Share

Recommended Posts

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

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.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...