Tag Archives: runAction
Cocos2D CCMenu – An Example
How to show more than one animation in sequence in Cocos2D?
For showing a number of animations sequentially in Cocos2D we use the CCSequence. CCSequence can accept a number of actions as parameters which will be executed in sequence , ie one after another. Here is a sample code to so this. /* This action will scale my_sprite */ id scaleTo = [CCScaleTo actionWithDuration:4 scale:1.5]; /*This action will move… Read More »