Hi, I'm new on Godot and I'm trying to figure out what's the best approach to managing 2D layered animation.
Here's the problem: Imagine having to animate a 2D character that is divided into three-layer or pieces (in my case layers since is a top-down game): head + body + legs.
When the character is on "idle" all the layers play the idle animation, when the player moves the character all the pieces have to travel to the "walking" status\animation.
So far is quite simple: layers have the same status\animation; the problem is when I add a third status like "attacking" that can be combined with idle: (head: idle, body: attacking, legs: idle) or walking (head: walking, body: attacking, legs: walking), in other words, the player attack while walking or while in idle.
I do have the sprites for all the pieces and all the possible statuses.
What's the most appropriate approach for building such animations (i.e. animation tree, animation player, spritesheet\spritesheets).