I wanted to create animation, which is starts 1 second after starting game, and then repeats each 3 seconds. This is the code:
`CCAnimation* dropAnim = CCAnimation::animationWithFrames(dropFrames);
CCSpriteFrame* firstDropFrame = dropFrames->getObjectAtIndex(0); CCSprite* drop = CCSprite::spriteWithSpriteFrame(firstDropFrame); CCDelayTime* dropAnimationDelay = CCDelayTime::actionWithDuration(3); CCActionInterval* dropSequence = CCSequence::actionOneTwo(dropAnimationDelay, CCAnimate::actionWithDuration(1, dropAnim, false)); CCRepeatForever *repeatDropAnimation = CCRepeatForever::actionWithAction(dropSequence); CCDelayTime* initialDelay = CCDelayTime::actionWithDuration(1); CCActionInterval* totalDropSequence = CCSequence::actionOneTwo(initialDelay, repeatDropAnimation); drop->runAction(totalDropSequence);`
This is not works… I missing something or its a bug?