Jump to content

window minimize game is stopper how to prevent


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...