Hello Guest

Author Topic: How to coordinate animations  (Read 5117 times)

ShabihK

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 9
    • View Profile
How to coordinate animations
« 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: How to coordinate animations
« Reply #1 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.