Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Making A Sprite Jump Smoothly
- _The_Artist_
-
28 posts
Making A Sprite Jump Smoothly
Hi! I'm making a platformer for the first time, and I'm trying to make my sprite jump smoothly. I've looked at different forums and stuff, but I'm having a hard time making my sprite jump diagonally and smooth. I don't really want to take anything from anyone's project. Any code that might help? I want to keep it simple. Thanks!
- mstone326
-
1000+ posts
Making A Sprite Jump Smoothly
THis is a good place to start. It covers everything for a platformer. Just take your time going through it. Otherwise, we'll have to see what you have so far and try to adapt a jump script for you.
https://scratch.mit.edu/projects/67727504/
Edit:
I had a simple jump project in my forum help studio but best to follow the above tutorial I linked.
https://scratch.mit.edu/projects/150519918/
https://scratch.mit.edu/projects/67727504/
Edit:
I had a simple jump project in my forum help studio but best to follow the above tutorial I linked.
https://scratch.mit.edu/projects/150519918/
Last edited by mstone326 (Jan. 2, 2018 01:56:11)
- elias_the_dank
-
9 posts
Making A Sprite Jump Smoothly
Here is a script that will make your sprite jump smoothly:
…rather than just doing this:
…which does not work well AT ALL. Hope this helps! Can't wait to see your project!
…rather than just doing this:
…which does not work well AT ALL. Hope this helps! Can't wait to see your project!

- _The_Artist_
-
28 posts
Making A Sprite Jump Smoothly
Thanks! I may use this in the future, but for right now I'm trying to keep the code fairly simple. Here is a script that will make your sprite jump smoothly:
…rather than just doing this:
…which does not work well AT ALL. Hope this helps! Can't wait to see your project!

- saodtheking
-
100+ posts
Making A Sprite Jump Smoothly
This is the simplest way i can think of
- Miner3141
-
56 posts
Making A Sprite Jump Smoothly
Hi! I'm making a platformer for the first time, and I'm trying to make my sprite jump smoothly.
If your head hits ground, you fall back down. If your feet hit ground, you stop jumping
Last edited by Miner3141 (Jan. 3, 2018 17:56:14)
- Discussion Forums
- » Help with Scripts
-
» Making A Sprite Jump Smoothly