Dynamically change animation speed?
I'm looking for a way to change the speed of a FlxSprite's animation while it is playing.
Specifically I want my character's run cycle to slow down depending on the velocity (so it smoothly comes to a stand-still). What would be the best way to achieve this?
Ah, sorry. I already found it. It works via curAnim.frameRate, right?
i believe that
dragis what you need.
yes, framerate can change the speed of the animation.