You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected that using the persist flag (true) on a chain tween would prevent it from being disposed of when stopped. The documentation mentions this behaviour, but I can't make it work.
Hi @FranciscoCaetano88. Thanks for submitting this issue. We have fixed this and pushed it to the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.
Activity
SBCGames commentedon Feb 28, 2025
I found this too. The doc says:
But calling the stop() destroys it.
As a workaround, you can use pause()/resume() instead of calling stop()/play(). It will work, if you change the input handler like this:
zekeatchan commentedon Mar 14, 2025
Hi @FranciscoCaetano88. Thanks for submitting this issue. We have fixed this and pushed it to the
masterbranch. It will be part of the next release. Do test it out and let us know if you encounter any issues.Fix phaserjs#7048. Added persist check on tween chains.