I have several actions that I would like to sequence for a given sprite. It works great in the simulator, but on the iDevice, it only runs the last action in the sequence. I am using the latest version of everything (iOS, xcode, cocos2d). Is there something wrong with my code, or has the API changed for sequencing actions? Here's my code:
CCSprite *sprite6 = [CCSprite spriteWithFile:@"whitebox1.png"];
[sprite6 setPosition:ccp(-400, 210)];
[self addChild:sprite6];
id scale = [CCScaleBy actionWithDuration:4 scale:1.5];
id move = [CCMoveBy actionWithDuration:2 position:ccp(50, 0)];
id scale2 = [CCScaleBy actionWithDuration:3 scale:2.0];
[sprite6 runAction:[CCSequence actions: scale, move, scale2, move, scale2, move, nil]];
Any suggestions or other people run into the same thing?