# HELP! sprite animation

**URL:** <https://forum.makecode.com/t/help-sprite-animation/3894>\
**Category:** Help\
**Created:** [October 15, 2020, 7:14am UTC](https://forum.makecode.com/t/help-sprite-animation/3894 "2020-10-15T07:14:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Billybob](https://avatars.discourse-cdn.com/v4/letter/b/e79b87/32.png) [@Billybob](https://forum.makecode.com/u/Billybob)\
**Post date:** [October 15, 2020, 7:14am UTC](https://forum.makecode.com/t/help-sprite-animation/3894/1 "2020-10-15T07:14:00Z")

</div>

I have a sprite that follows the player but I want to animate it so that when it flies left it looks like it is flying left and when it flies right it looks like it is flying right. I need a separate animation for each. [https://makecode.com/\_1w0FefJou8d2](https://makecode.com/_1w0FefJou8d2)

---

<div class="post-metadata">

**Author:** ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)\
**Post date:** [October 15, 2020, 12:36pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/2 "2020-10-15T12:36:22Z")

</div>

I think I can help ya

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [October 15, 2020, 12:58pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/3 "2020-10-15T12:58:10Z")

</div>

Welcome to the forum @Billybob!

Your project doesn’t seem to run.

Do you need help in the coding department or the art department?

Coding wise, you should use this really helpful extension. It will run your animations depending on what is happening, like if you are moving left, it will automatically switch over to the moving left animation, etc.

> **[riknoll/character-animations](https://github.com/riknoll/character-animations)**
>
> Contribute to riknoll/character-animations development by creating an account on GitHub.

I’m afraid that I won’t be of any assistance in helping you draw. ☹

---

<div class="post-metadata">

**Author:** ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)\
**Post date:** [October 15, 2020, 1:20pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/4 "2020-10-15T13:20:18Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/0633c32f66e39ee7c60b47f25ab90531cec33f6b.png)  
First, you named the status bars the same thing which is why there is an error for the bat.  
You need to change the name of the status bars.

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7f57eab3775bbf35a22338876f3b1d30c4776f76.png)

Now I will help you with the images.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/d095699a60680deedfedc939e951dbeb81bc4ea9.png)  
Putting them in a game update will help. I got this technique from the MakeCode person who made a how to make a parkour cat game video. Thank you to whoever it was!!

I don’t know what you did in the bats for the animations but I will keep trying.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/c/c9d6c384f2955b1291474f294f120d25b929e41d.png)  
Sorry about that. It should work as good as I think. This is my best so I hope this works!!

> **[ONGA 2 (Dreadmask197) Lots of edits](https://arcade.makecode.com/93414-75315-11802-46935)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

  
Here ya go!

---

<div class="post-metadata">

**Author:** ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)\
**Post date:** [October 15, 2020, 1:24pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/5 "2020-10-15T13:24:31Z")

</div>

Me: Took me about 45 minutes to fix all the bugs  
You: Gives an extension that solves everything under 1 minute

I think I’ve seen that extension before though. Is that @richard’s extension?

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [October 15, 2020, 1:26pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/6 "2020-10-15T13:26:35Z")

</div>

> [@Dreadmask197](#):
>
> Me: Took me about 45 minutes to fix all the bugs  
> You: Gives an extension that solves everything under 1 minute

Sorry 😆

> [@Dreadmask197](#):
>
> I think I’ve seen that extension before though. Is that @richard’s extension?

Yes, it is. I’m currently using it in my main project right now and it’s much easier than using the animation extension for these kinds of things.

---

<div class="post-metadata">

**Author:** ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)\
**Post date:** [October 15, 2020, 1:31pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/7 "2020-10-15T13:31:15Z")

</div>

I’m just trying to help.

> [@UnsignedArduino](#):
>
> I’m currently using it in my main project right now and it’s much easier than using the animation extension for these kinds of things.

I’m going to try that extension out. see what it does.

---

<div class="post-metadata">

**Author:** ![Billybob](https://avatars.discourse-cdn.com/v4/letter/b/e79b87/32.png) [@Billybob](https://forum.makecode.com/u/Billybob)\
**Post date:** [October 15, 2020, 10:03pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/8 "2020-10-15T22:03:21Z")

</div>

Thank you so much! That means so much to me. Is there anything I can do in return? 😃

---

<div class="post-metadata">

**Author:** ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)\
**Post date:** [October 15, 2020, 10:16pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/9 "2020-10-15T22:16:43Z")

</div>

Could you think of some ideas? That could help. Haven’t made games lately except for a rubiks cube scrambler that totally confused me.

---

<div class="post-metadata">

**Author:** ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)\
**Post date:** [October 16, 2020, 8:07pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/10 "2020-10-16T20:07:25Z")

</div>

Have you seen @darzu YouTube films on making a platformer game? There are really great for getting inspiration.

[![](https://img.youtube.com/vi/9bSX9Q5aP6E/maxresdefault.jpg "How to Make a Platformer Game [Part 1: Intro, sprites, movement & tile map]") ](https://www.youtube.com/watch?v=9bSX9Q5aP6E)

---

<div class="post-metadata">

**Author:** ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)\
**Post date:** [October 16, 2020, 10:21pm UTC](https://forum.makecode.com/t/help-sprite-animation/3894/11 "2020-10-16T22:21:56Z")

</div>

yes, I’ve seen it. I’ve watched all the videos and finished the Tutorial
