repeatForever within a Sequence?

repeatForever within a Sequence?
0.0 0


Let’s say for example I have an animation sequence of a helicopter sprite flying around the screen yet I want the rotor animation of the helicopter sprite to repeat forever. How would this work? I’m using cocos2d html5 and I can easily do either/or but not both. thanks.


just answered my own question. repeatForever will never work and I was looking at my sequence issue wrong. I fixed this by using a finite repeat with just the repeat function and the spawn function. So i throw my repeat function an edible amount of repeats for the movement. Problem solved.