I need to queue sequences of actions. As per the documentation, this works 
fine:

sprite.do(action_1 + action_2)

Now I've run into a situation where I need something a bit more flexible, 
e.g.:

sprite.do(action_1)
...
(other stuff)
...
sprite.do(action_2)

I.e. I want action_1 to run and then when it finishes it should run 
action_2. What currently happens is that it starts action_1 and immediately 
moves on to action_2 without completing action_1.

Is there any way to queue the actions so that it will wait for action_1 to 
finish and only then run action_2?

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to