CreateJS / TweenJS

A simple but powerful tweening / animation library for Javascript. Part of the CreateJS suite of libraries.
http://createjs.com/
MIT License
3.56k stars 966 forks source link

Strange pause at the end of a loop #9

Closed rdrey closed 12 years ago

rdrey commented 12 years ago

Hi guys,

I created a SO Question with a JSFiddle, but got no useful response (one answer deleted by the author after realising that the wait(100) calls in my code make sense.)

Here is my question: http://stackoverflow.com/questions/10307411/pause-after-loop-in-tweenjs

I basically create a loop with a number of waits, but at the end of the loop there is an even longer wait, I didn't create, which I'd like to get rid of somehow. If there is no default wait at the end of a looping tween, this might be a bug in tweenjs.

Thanks! Rainer

rdrey commented 12 years ago

My issue is solved, I had an off-by-one error at the start of my loop, which was not immediately obvious until the loop repeated itself. Sweet!