2D Toolkit Forum

2D Toolkit => Support => Topic started by: ShabihK on August 12, 2017, 11:56:01 am

Title: How to coordinate animations
Post by: ShabihK on August 12, 2017, 11:56:01 am
Hi!

I have a little problem that I don't know how to solve. I'm creating a caracther that use multiple weapons but the movement is always the same. The problem is that every weapon have diferent animations, for example the first or last frame can be longer. I would like to sincronize the frames of the character with the frames of the weapons. How can I do it?

Thank you.
Title: Re: How to coordinate animations
Post by: unikronsoftware on August 14, 2017, 06:59:54 pm
My preferred solution would be to create and maintain the animations in code.
(http://2dtoolkit.com/doc/2.4/advanced/data_driven.html)

That way you can simply create animations for all the permutations as needed and maintain them much more easily (in my opinion) than in an editor.