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

Modified to fix issue of delay b/w animation loop in not applying. #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bijoshtj
Copy link

Suppose a SpriteView instance is created with default animation and delay and another animation is triggered by startAnimation function, when it comes back to default animation, delay specified was not being applied b/w animation loops.

When animation is triggered by start animation, after triggering animation loop,
it comes back to default animation, but delay specified was not being applied b/w animation loops.

Conflicts:
	src/ui/SpriteView.js
@rogueSkib
Copy link
Contributor

This one's a bit tricky to merge right now.

I think the API for SpriteView needs a lot of clean up in general. For example, the opts accepted into startAnimation expects some similar and some different opts than those passed in on init. For example, they both treat loop differently.

I'm planning either an API clean-up / optimization for this class or a new class if backwards incompatibility is an issue.

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.

2 participants