2D Toolkit Forum

2D Toolkit => Support => Topic started by: Dipanker on October 10, 2013, 11:19:40 am

Title: Animation Speed
Post by: Dipanker on October 10, 2013, 11:19:40 am
Hi
  Can I increase the speed of animation? My game contain a sprite with Sprite Animator and set the animation play automatically, while in game play I want to increase the speed of animation when it hit collide with another object.
   Thank You.
Title: Re: Animation Speed
Post by: unikronsoftware on October 10, 2013, 11:36:49 am
use tk2dSpriteAnimator.ClipFps to modify the rate of the animation while its playing.
http://2dtoolkit.com/docs/latest/html/classtk2d_sprite_animator.html
Title: Re: Animation Speed
Post by: Dipanker on October 10, 2013, 03:09:03 pm
hi unikronsoftware,
   Thanks for the reply now its working as I want.... :) :) :)