With Cocos2D I can run two actions in parallel by simply using runAction
and I can use a CCSequence
two run several actions after each other.
However what I could not find is:
- Run two actions simultaneously
- When both actions are done, trigger a third
CCAction
It must be really easy but I seem to use the wrong search keywords on Google. :-)
The only possible solution I have found so far is to use a delayed action as the first element of a CCSequence and then start the third action. But it "feels" wrong.