Skip to content

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