-
-
Notifications
You must be signed in to change notification settings - Fork 16
Stop method does nothing on a single animation document #20
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
Comments
So, OnAnimationEnd is supposed to be for when the animation ends, and since a looping animation doesn't end, it's not called. OnAnimationLoop was the correct call since it's called on the frame the animation loops back to the first frame. In hindsight I can see how this would be confusing and definitely may need a change or better documentation. As for one time animations that play and dont loop, check this out. If you end a tag name in Aseprite with |
Just checked and the |
The [oneshot] trick is really neat. I will use that surely! |
Closing this issue, tracking will now be done in issue #43 |
Hello, I'm probably having an uncommon use case in my hands. I have an aseprite document with a single animation of 5 frames that I want it to run just once. I thought about doing this:
but the animation loops anyway. I later found out the Pause method, but again it loops anyway with that too.
EDIT:
I tried OnAnimationLoop and it worked. I thought that OnAnimationEnd would fire after the last frame, my bad.
The text was updated successfully, but these errors were encountered: