cocos2d-objc icon indicating copy to clipboard operation
cocos2d-objc copied to clipboard

runAction:withKey: like in Sprite Kit, stops existing action with key

Open LearnCocos2D opened this issue 11 years ago • 1 comments

This is a multifold request to improve working with actions:

  • add string keys to actions (in addition to tags?)
  • an improved runAction: that allows to specify key (and/or tag), like runAction:withKey: and runAction:withTag: because it's cumbersome having to assign tag/key to the action instance
  • behavior that stops any existing action with the same key (optionally for tags as well) ... for instance: runAction:withTag:stopExisting: and runAction:withKey: where the key variant always stops the existing one

LearnCocos2D avatar Jun 26 '14 10:06 LearnCocos2D

I'll bump this to the 4.x milestone. Hopefully will get more visibility there.

slembcke avatar Jan 14 '15 03:01 slembcke