# Student issues with jumping in game - can you take a look?

**URL:** <https://forum.makecode.com/t/student-issues-with-jumping-in-game-can-you-take-a-look/17705>\
**Category:** Arcade\
**Created:** [February 1, 2023, 4:49pm UTC](https://forum.makecode.com/t/student-issues-with-jumping-in-game-can-you-take-a-look/17705 "2023-02-01T16:49:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmods](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jmods](https://forum.makecode.com/u/jmods)\
**Post date:** [February 1, 2023, 4:49pm UTC](https://forum.makecode.com/t/student-issues-with-jumping-in-game-can-you-take-a-look/17705/1 "2023-02-01T16:49:39Z")

</div>

Student is following some tutorials on making a platformer game but his sprite is having issues jumping. In the tutorial the velocity of vy is set to 300 but in his workspace on his ipad he can only set it to max 100.

Can anyone see why his character is jumping a bit wonkey? Like really high and then drops heavily?  
Here is the game

[Student Jumpy platformer](https://arcade.makecode.com/S29383-97500-57523-71965)

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [February 1, 2023, 7:02pm UTC](https://forum.makecode.com/t/student-issues-with-jumping-in-game-can-you-take-a-look/17705/2 "2023-02-01T19:02:52Z")

</div>

It’s because you’re using pauses.  
If you remove them and add an acceleration block to the start, you can get the desired effect.

> **[jumping game fun - fixed](https://arcade.makecode.com/S38536-32937-53466-24107)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Tweak the values to change the physics to your liking if you want to. Hope this helps!

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [February 1, 2023, 7:04pm UTC](https://forum.makecode.com/t/student-issues-with-jumping-in-game-can-you-take-a-look/17705/3 "2023-02-01T19:04:51Z")

</div>

To me it seems that your sprite is having its velocity y set to -100 (jumping up), and then has its velocity y set to 300 (a fast downward movement).  
Here’s a way to fix it:  
 ![Screenshot 2023-02-01 104422](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/032ad4156ecbc6b93e06d34ba76fbffde67ff4e0.jpeg)  
This uses the acceleration y (ay) to make something like gravity. I hope this helps!

---

<div class="post-metadata">

**Author:** ![jmods](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jmods](https://forum.makecode.com/u/jmods)\
**Post date:** [February 3, 2023, 8:11am UTC](https://forum.makecode.com/t/student-issues-with-jumping-in-game-can-you-take-a-look/17705/4 "2023-02-03T08:11:05Z")

</div>

Thank you so much for taking the time to help! I showed this to my student and he loved it! It’s still quite challenging the tutorial he is following but he is very engaged and loving it! He is only 9.
