Is it possible to run multiple ccactions on a sprite at the same time? For example, if I have a CCFadeIn, a CCScaleTo, and a CCRotateBy, all with the same duration, can I run all three on a sprite at the same time? The only thing I have found that does anything remotely close is CCSequence, and that's not what I want. Thanks!
You don't need to use CCSpawn, just run these actions individually on the same sprite and they will run concurrently:
id fadeIn = [CCFadeIn actionWith…];
[sprite runAction:fadeIn];
id scale = [CCScaleTo actionWith…];
[sprite runAction:scale];
id rotate = [CCRotateBy actionWith…];
[sprite runAction:rotate];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With