문제

I need to run sequential cocos2d actions on different nodes. I know about CCSequence but that is not good for me since it allows running sequence of actions on the same node. How would I go about running sequential actions for this scenario:

  • Move parent;
  • Move two child nodes simultaneously;
  • Move parent again;
도움이 되었습니까?

해결책

Add a CCCallFunc to your sequence then in the function that it calls, start a new sequence on a different node.

Rinse and repeat for each separate node you want to move.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top