8 way directional 2D attack animation?
I'm building a shoot em' up and I have set up a controller to handle animations Using sprites and png for the animations. So far so good, it looks something like this:
I have blend trees to handle when the character is looking into the different directions (up, up right, up left, down, down right, down left). For example, the Run state is like this:
Then my character can face in all 8 directions. However now I'm trying to set up the "Attack" state, and I have the problem that I would have to repeat ALL combinations again, since I want to be able to attack just in front, or facing up, facing up right, etc etc. I would like to avoid having to create "AttackWalk", "AttackIdle", "AttackRun", "AttackJump" and "AttackCrouch" states with all the same concepts, is there a better way to do this??
Your answer
Follow this Question
Related Questions
How to call 'Animator.Play' without wait for FixedUpdate? 0 Answers
Stop Point objects respawning when reloading level 0 Answers
I can't do jump in my 2D game 1 Answer
Best practice to handle mirrored body hit animations? 1 Answer
Interpolating animations between blend tree states with Spine 0 Answers