xronn Posted March 7, 2014 Share Posted March 7, 2014 I have an animation running when left is held down but I want to run a new animation from the same group when left and spacebar is held how can I kill/stop the old animation. I see theres aresetFrameWhich might be what I'm after not sure because this does'nt work;sword.animations.resetFrame('swordLeft'); Link to comment Share on other sites More sharing options...
rich Posted March 7, 2014 Share Posted March 7, 2014 You could just play the new animation? It will automatically replace the old one. Otherwise you'd call animation.stop, on the actual animation itself (not on the sprite.animations object, that's the AnimationManager). Link to comment Share on other sites More sharing options...
Recommended Posts