Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Force use of setTimeout over requestAnimationFrame?


codevinsky
 Share

Recommended Posts

You can do this using a game configuration object and set the property forceSetTimeOut to true.

 

Understand that some browsers will still pause the game for you though, regardless. iOS in particular will freeze all  JavaScript execution when you swap out or to another tab, no matter how you update the game.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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