Phaser - How to keep tween to complete when I change web tab?

512 Views Asked by At

I have multiple tween in one group, but when I change web tab or switch tab to use another app. My tween is pause and running back when I change back to my phaser game so I have chaotic tween running.

1

There are 1 best solutions below

1
On

use this sitting

game.stage.disableVisibilityChange = true;

please read the doc