play-co / timestep

GNU General Public License v3.0
16 stars 27 forks source link

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

Open bijoshtj opened 8 years ago

bijoshtj commented 8 years ago

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.

rogueSkib commented 8 years ago

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.