Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LBandy

Pages: [1]
1
Support / Re: tk2dAnimatedSprite.getFrame() function
« on: July 04, 2012, 12:37:32 pm »
frame = (int)(anim.ClipTimeSeconds * anim.CurrentClip.fps);

That should do it.

Thanks for the advice. Is there a way to be able to sync the animation in a more precise way? Because if I use this solution, at a given 24 fps framerate the delay is noticable.

2
Support / tk2dAnimatedSprite.getFrame() function
« on: June 29, 2012, 03:03:11 pm »
Hi there!

Thank you very much for this great plugin. However, I would like to know if there is a possibility to get the frame id which is currently playing? We need to synchronize multiple animation together, and knowing the actual frame in the animation is essential for this. I hope there would be a simple workaround for this.

Thank you for your help!

Pages: [1]