Microsoft MakeCode

How to make player from multiple sprites

How do I make the player combined from multiple sprites ?
I have the upperbody animation and the legs animation separately.
I need the legs to be attached to the upperbody at specific delta to the location of the upperbody.
Also not sure how to work with array of animations

1 Like

Here it is! (You can even move)

1 Like

Thank you for trying to help.

Look what happens when I try to fire.
How should I resolve this?

I made another attempt:

Solved it by inputing a different delta when firing, but the thing is that the animation code changes the sprite’s x and y positions. That’s annoying.

Try this.

Yeah I tried. I need to fix the animation…
Look here:

1 Like