# Help For Jumping

**URL:** <https://forum.makecode.com/t/help-for-jumping/34119>\
**Category:** Help\
**Created:** [February 25, 2025, 11:35pm UTC](https://forum.makecode.com/t/help-for-jumping/34119 "2025-02-25T23:35:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![CollapsedAxolotl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/collapsedaxolotl/32/19395_2.png) [@CollapsedAxolotl](https://forum.makecode.com/u/CollapsedAxolotl)\
**Post date:** [February 25, 2025, 11:35pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/1 "2025-02-25T23:35:04Z")

</div>

Is there a reliable way to make it in a platformer so that if depending on how long I hold jump, I go higher?

---

<div class="post-metadata">

**Author:** ![loganisdabest](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/loganisdabest/32/20151_2.png) [@loganisdabest](https://forum.makecode.com/u/loganisdabest)\
**Post date:** [February 26, 2025, 5:50pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/2 "2025-02-26T17:50:10Z")

</div>

it was hard for me to make this feature I struggled on making robot gamemode on geometry dash but I kinda don’t know where you want that to go

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [February 26, 2025, 5:54pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/3 "2025-02-26T17:54:41Z")

</div>

Yes. There are two ways to do this, one of which is easier to play, and to code, and which is just better in my opinion. This first way is to have a normal jump physics, except when the player lets go of the jump button, you significantly decrease the player’s upwards velocity. (Make sure to check if the player is moving up faster than the lessened velocity amount before applying the change).  
I haven’t really played around with how exactly is the best way to decrease the velocity, it might be better to half the velocity rather than directly set it to a decreased amount, though I imagine you could always set the velocity to 0 or near 0 and it would play fine…  
The other option is to apply a constant velocity up until the player releases the button or a certain amount of time passes. I imagine this one is more complicated to code and harder to control when playing. It would also require a lot more tuning before it feels right. It also decreases the range of jump heights that are possible to reach.

---

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [February 26, 2025, 5:55pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/4 "2025-02-26T17:55:50Z")

</div>

Yes there is! You can use the platformer extension to help you  
Paste this into the extension search bar to download it.

```auto
https://github.com/microsoft/arcade-platformer

```

And here’s an example on how to use it. Remember to make the player sprite a platformer sprite!

> **[Jumping Demo](https://arcade.makecode.com/S15772-50268-00674-48817)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [February 26, 2025, 5:58pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/5 "2025-02-26T17:58:02Z")

</div>

Yes… I don’t know off the top of my head but @BotWarrior made that as part of his game hollow knight  
Here is the link

> **[Hollow knight 320 by 240?!](https://arcade.makecode.com/S49130-86485-34614-75782)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![santiho](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/santiho/32/24627_2.png) [@santiho](https://forum.makecode.com/u/santiho)\
**Post date:** [February 26, 2025, 6:44pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/6 "2025-02-26T18:44:40Z")

</div>

I need the same for algebra Dash someone please help us

---

<div class="post-metadata">

**Author:** ![CodeOnTheCob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codeonthecob/32/19306_2.png) [@CodeOnTheCob](https://forum.makecode.com/u/CodeOnTheCob)\
**Post date:** [February 26, 2025, 6:45pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/7 "2025-02-26T18:45:21Z")

</div>

yup just import this

 ![fix](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/4/04ca660fa1b2bfa957651e0cbb43f4f193a9b78b.png)

---

<div class="post-metadata">

**Author:** ![CollapsedAxolotl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/collapsedaxolotl/32/19395_2.png) [@CollapsedAxolotl](https://forum.makecode.com/u/CollapsedAxolotl)\
**Post date:** [February 26, 2025, 6:52pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/8 "2025-02-26T18:52:35Z")

</div>

Thank you so much! The only thing is, I want it to jump on up button. When I change my input to up button, it also jumps when space button pressed. Is there any way to fix that?

---

<div class="post-metadata">

**Author:** ![Tsist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/tsist/32/20588_2.png) [@Tsist](https://forum.makecode.com/u/Tsist)\
**Post date:** [February 26, 2025, 6:53pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/9 "2025-02-26T18:53:46Z")

</div>

![Screenshot 2025-02-25 7.01.54 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/4/5/45d4810e43fffcb5c4a8a0a1e9b753db1ac1d34c.png)

> **[help](https://arcade.makecode.com/S90700-85620-45669-22224)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Mr\_Duck](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mr_duck/32/13442_2.png) [@Mr\_Duck](https://forum.makecode.com/u/Mr_Duck)\
**Post date:** [February 27, 2025, 1:11pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/10 "2025-02-27T13:11:55Z")

</div>

yes there is @CollapsedAxolotl,

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/c/2c151201de790c2bcea60f9eb6131f3dc4cd398e.png)  
something like this should work fine

---

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [February 27, 2025, 5:38pm UTC](https://forum.makecode.com/t/help-for-jumping/34119/11 "2025-02-27T17:38:48Z")

</div>

Here. You just need a block to turn off “A” as the jump button

> **[Jump on "up" button pressed](https://arcade.makecode.com/S31882-27384-82234-21023)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.
