Hi, I'm having problem in calling same sequence of actions on multiple sprite.
This is my code:
id move = [CCMoveBy actionWithDuration:3.0 position:ccp(100,5)];
id scalePerson = [CCScaleTo actionWithDuration:3.0 scale:0.2];
id action1 = [CCSpawn actions:move,scalePerson,nil];
[sprite1 runAction:action1];
[sprite2 runAction:action1];
With above code ,I can see animation on the last sprite (sprite2) but can't see the animation of sprite1.
Are there other options? Any suggestions on how to do this otherwise?
Thanks!