I am making a game where 'defending' sprites need to animate towards 'attacki开发者_C百科ng' sprites. But for example an attacker might change course to attack something else, mid animation. What's the best way to manage animations, and destinations? I believe I must remove any action on a sprite before adding a new one. Perhaps I need to use the shared action manager or something??
Yes, just stop the existing actions, and add the new animation to the sprite.
精彩评论