Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Animation Speed
« previous
next »
Print
Pages: [
1
]
Author
Topic: Animation Speed (Read 3390 times)
Dipanker
Newbie
Posts: 17
Animation Speed
«
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.
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Animation Speed
«
Reply #1 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
Logged
Dipanker
Newbie
Posts: 17
Re: Animation Speed
«
Reply #2 on:
October 10, 2013, 03:09:03 pm »
hi unikronsoftware,
Thanks for the reply now its working as I want....
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Animation Speed