Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nextFrame and prevFrame method #42

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

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