Multiple sprite sheets for one character

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By phaleron

Hi all!

I’m really frustrated with this simple problem I have. I hope someone can give me good advice!

I am generating my sprite sheets with Blender and then touch them up with Asesprite. I really like this workflow and gives me my desired result. Now there is one problem. I would like to use multiple sprite sheets to animate one character, for example; running, walking. idle, and some attacks.

What I thought was perfect; using the animatedSprite and making my different animations with multiple sprite sheets and then use them in the animationTree. because I really would like to use the animationStateMachine

I tried a lot to achieve this but without succes…

Many thanks in advance!

Same problem

JayJay99 | 2021-07-04 22:14

1 Like
:bust_in_silhouette: Reply From: kris_bsx

There may be a simpler and more efficient way, but why don’t you just use several “Sprites”?

If all your sprites are children of a parent node, their position will be the same if you move the parent and not the sprites themself.

  • Character

  • Sprite1 (Animation1)

  • Sprite2 (Animation2)

  • Sprite3 (Animation3)

Moving the parent node “Character” will move all children.

And you can “hide()” and “show()” the children at same time you start playing the animation of the visible sprite. In that case, you will need to show only one sprite and hide all the others.

:bust_in_silhouette: Reply From: HyPerMax5

I’m a bit late to the party, but…
As someone already pointed out, using multiple sprites and changing their visibility is one way to do it.

Tried that myself but found a method that works better for me:

Animated sprite → Animation Frames → Add Frames from a Sprite Sheet

Then just select your sprite sheet and change the h and v frames until it all lines up.
I also highly recommend using the “Animated Sprite to Animation Player converter” plugin by poocom1.
Obviously, make a new animation for each sheet.

Saves a lot of time since you don’t need to key each frame with this.