Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
異なる CCNod で同時に一連のアクションを実行する必要があります。2 つの CCSequence::create を実行する必要がありますか?
それらを同時に開始する必要があり、2 つの CCSequence::create を次々に実行すると、nod はアクションを同時に実行しません。
何か案は?
node1->runAction(CCSequence::create(...)); node2->runAction(CCSequence::create(...));
これにより、同時にアクションが実行されます。また、ノードごとに CCSequence を作成することも重要です。