miyaxu

Do not pause the Arcade Physics when loosing focus

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!
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.