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

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

1 Like

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.

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

2 Likes

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
This uses the acceleration y (ay) to make something like gravity. I hope this helps!

1 Like

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.

2 Likes