• Editor
  • Change animation speed at runtime

Related Discussions
...

Is there any way to change animation speed at time? If the hero of my game upgraded his attack speed, I wish the attacking animation played faster.

Typically, you are updating your time variable "time += dt; animation.apply(skeleton, time, true)", so now you just need to "time += dt * timeScale".

5 jours plus tard

CCSkeleton has a member timeScale now. I used this one for testing, so changing the animation speed, to have a closer look on animation mixing.