hi,
Is there any way to manually stop an intervalaction? right now if I call stopallactions in middle of an intervalaction, that action will never finish. call IsDone will always return false.
Thx
A fast, easy to use, free, and community supported 2D game engine
hi,
Is there any way to manually stop an intervalaction? right now if I call stopallactions in middle of an intervalaction, that action will never finish. call IsDone will always return false.
Thx
stopAllActions or stopActionByTag should stop the action.
If it doesn't, it's bug. And if it is a bug, could you open a bug on the issue tracker ?
If so, please attach the code the reproduce the bug.
Thanks.
Hi Riq
Any idea how to pause actions, as we have tried stop actions, deativatetimer and everything and they seem to still rotateby, moveby, scaleby etc. :(
Hey terrym,
To pause and resume actions is pretty straight forward, check out the ActionManager which is the singleton behind everything:
[[ActionManager sharedManager] pauseAllActionsForTarget:sprite];
The compliment to this is:
[[ActionManager sharedManager] resumeAllActionsForTarget:sprite];
Hope this helps...
You must log in to post.