Skip to content

Add nextFrame and prevFrame method#42

Open
loudoweb wants to merge 6 commits intomasterfrom
fix-set-timeMS
Open

Add nextFrame and prevFrame method#42
loudoweb wants to merge 6 commits intomasterfrom
fix-set-timeMS

Conversation

@loudoweb
Copy link
Owner

@loudoweb loudoweb commented May 2, 2023

There are now a nextFrame and prevFrame methods that allows to move frame by frame all spriters independendly (as long as you update with no elapsed time : update(0) )
There is now a correlation between timeMS and normalizedTime so both values are bounds together.
so it allows to change from any time and Spriter calculate the normalizedTime accordingly.
There is now a progress property to easily set an animation at a specific progression

Breaking change: change timeMS by time and make normalizedTime read only.

BUG to fix: complete() calls unstable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant