Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Change Animation Frame Rate or Time via Code
« previous
next »
Print
Pages: [
1
]
Author
Topic: Change Animation Frame Rate or Time via Code (Read 4615 times)
turkerkarahan@yahoo.com
2D Toolkit
Newbie
Posts: 4
Udo Games
Change Animation Frame Rate or Time via Code
«
on:
September 26, 2013, 01:13:23 am »
Hello,
How can i change animation frame rate or time via code so i can change playing speed of my animation dynamically?
Thanks for your answers.
«
Last Edit: September 26, 2013, 01:38:09 am by turkerkarahan@yahoo.com
»
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Change Animation Frame Rate or Time via Code
«
Reply #1 on:
September 26, 2013, 12:16:58 pm »
You can use tk2dSpriteAnimator.ClipFps (
http://unikronsoftware.com/2dtoolkit/doc/2.20/html/classtk2d_sprite_animator.html#ad5f3b8cb62b9a112c78c9f557a174efb
) to control the frame rate dynamically.
Logged
turkerkarahan@yahoo.com
2D Toolkit
Newbie
Posts: 4
Udo Games
Re: Change Animation Frame Rate or Time via Code
«
Reply #2 on:
September 26, 2013, 01:17:46 pm »
Thanks a lot
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Change Animation Frame Rate or Time via Code