Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I make a sprite jump?
- HazelLeaf-Llamas
-
25 posts
How do I make a sprite jump?
I know this is a super basic question, and I should definitely know this, but I just can't figure it out! I am making a collab with @-TheWarriorGamer-, that is half a Warriors game and half a platformer. We need to figure out how to get the cat to jump and then return to the ground.
If someone could possibly explain this to me, that would be greatly appreciated.
Thank you!
`Hazel
If someone could possibly explain this to me, that would be greatly appreciated.
Thank you!

`Hazel
- jokebookservice1
-
1000+ posts
How do I make a sprite jump?
So to make a simple (not realistic) jump, you would do this:
However, to make it realistic you will want to add acceleration. It can be stored in a variable called “Y Vel”:
Last edited by jokebookservice1 (July 8, 2016 19:10:51)
- HazelLeaf-Llamas
-
25 posts
How do I make a sprite jump?
So to make a simple (not realistic) jump, you would do this:However, to make it realistic you will want to add acceleration. It can be stored in a variable called “Y Vel”:
Thanks! That helped loads

- jokebookservice1
-
1000+ posts
How do I make a sprite jump?
Woops, put the
Outside the if-else, I'll edit my post. Sorry about that
- Discussion Forums
- » Help with Scripts
-
» How do I make a sprite jump?