I have 3 animations.
The first has 4 frames with a total duration of 0.4s: ccanimation::createwithspriteFrames(animframes,0.1f);
The second has 2 frames with a total duration of 0.2s: ccanimation::createwithspriteFrames(animframes,1.0f);
The third has 4 frames with a total duration of 0.4s: ccanimation::createwithspriteFrames(animframes,0.1f);
I want all three animations to run in 2.8s
I run all of the animations once with: ccrepeat(...,1);
I then add them to arrayAction and call:
sprite->runaction(CCSEquence::create(arrayAction))
in the update method.
I call the update method with: schedule(schedule_selector(update),1.0f)
But when I execute it, something is not right.
