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

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.