Created
November 24, 2010 04:42
-
-
Save ecpplus/713124 to your computer and use it in GitHub Desktop.
Cocos2d(0.99.4) - CCRepeatForever having interval.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id delaying = [CCDelayTime actionWithDuration:1.5f]; // duration is second, not millsecond. | |
id sequence = [CCSequence actions:someAction, delaying, nil]; | |
CCRepeatForever *repeatAction = [CCRepeatForever actionWithAction:sequence]; | |
[aSprite runAction:repeatAction]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment