Jump to content

Do not pause the Arcade Physics when loosing focus


miyaxu
 Share

Recommended Posts

Hi all

I'm Taiwanese, my english is poor , but I will do my best describes the problem

 

https://jsfiddle.net/p7zbawt3/

 

I've added that code:

this.game.stage.disableVisibilityChange = true;

and

this.config.forceSetTimeOut = true;
When the browser tab loses focus,
the tween animation can keep running,
but the Physics ARCADE no works with loops,  It was paused...
 
Hope that helps,  thanks!
 
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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