# Character animation help - going up

**URL:** <https://forum.makecode.com/t/character-animation-help-going-up/4702>\
**Category:** Help\
**Created:** [November 30, 2020, 5:05pm UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702 "2020-11-30T17:05:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![edubsky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/edubsky/32/2132_2.png) [@edubsky](https://forum.makecode.com/u/edubsky)\
**Post date:** [November 30, 2020, 5:05pm UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702/1 "2020-11-30T17:05:48Z")

</div>

Hi there

I’m having trouble getting the right character animations to show when jumping or climbing up a ladder.

Here’s the demo:

> **[dugong animation bug](https://arcade.makecode.com/94948-60335-46703-86665)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

**What I would like:**

- When jumping, run the jumping-right or jumping-left character animation (dugong facing right or left with flippers outstreched in opposite direction).
- When climbing up ladder, loop the climbing character animation (dugong facing the ladder, with tail moving up and down)

**What I’m seeing however:**

- If I haven’t got to the ladder yet, and I jump from a standstill, then the jumping-right or jumping-left character animation plays as intended.
- If I’m walking and jumping, then the jumping animation doesn’t play, and instead I sort of walk in the air.
- The ladder-climbing character animation only appears once I’m at the top of the ladder.
- If I have passed or climbed the ladder, then every time I jump, I’ll get the ladder-climbing character animation.

Any advice would be much appreciated!

---

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kat/32/2596_2.png) [@Kat](https://forum.makecode.com/u/Kat)\
**Post date:** [November 30, 2020, 5:55pm UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702/2 "2020-11-30T17:55:47Z")

</div>

Okay- can I just say that the artwork on this is BEAUTIFUL!! I didn’t notice anything wrong with the animations. Perhaps the code is confused by hitting several buttons at the same time? Or perhaps its a bug on your end?

---

<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:** [November 30, 2020, 6:26pm UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702/3 "2020-11-30T18:26:24Z")

</div>

> **[dugong animation bug](https://arcade.makecode.com/53498-79289-32807-86080)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

  
Hopefully that helps. 🙂

---

<div class="post-metadata">

**Author:** ![edubsky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/edubsky/32/2132_2.png) [@edubsky](https://forum.makecode.com/u/edubsky)\
**Post date:** [December 1, 2020, 3:23pm UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702/4 "2020-12-01T15:23:56Z")

</div>

Thanks @Kat – but I’m only responsible for the character animation. The tilemap is from an open source extension: [Platformer Tileset](https://forum.makecode.com/t/platformer-tileset/3023)

---

<div class="post-metadata">

**Author:** ![edubsky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/edubsky/32/2132_2.png) [@edubsky](https://forum.makecode.com/u/edubsky)\
**Post date:** [December 1, 2020, 3:23pm UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702/5 "2020-12-01T15:23:58Z")

</div>

You’re a star - thank you

---

<div class="post-metadata">

**Author:** ![edubsky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/edubsky/32/2132_2.png) [@edubsky](https://forum.makecode.com/u/edubsky)\
**Post date:** [December 1, 2020, 10:06pm UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702/6 "2020-12-01T22:06:26Z")

</div>

By the way, here’s where I’ve got to with this game… not much, but it’s a start, and I’m happy with the subtle animated background 🙂

> **[dugong roof runner demo](https://arcade.makecode.com/49871-78889-96921-89540)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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:** [December 1, 2020, 11:24pm UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702/7 "2020-12-01T23:24:49Z")

</div>

This is a really good concept. I like how the camera sprite moves the tilemap across the screen. You could have the player shoot Mario-like bullets that destroy when hitting a wall, or outside the screen, or below a certain y axis.

---

<div class="post-metadata">

**Author:** ![NxNMatrixGL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nxnmatrixgl/32/2553_2.png) [@NxNMatrixGL](https://forum.makecode.com/u/NxNMatrixGL)\
**Post date:** [December 26, 2020, 4:05am UTC](https://forum.makecode.com/t/character-animation-help-going-up/4702/8 "2020-12-26T04:05:34Z")

</div>

Thanks for the Platformer Tileset link! A great share that also led to the following sprite pack extension riknoll/grafxkid-tiles. 🙂
