Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How can I make a smooth jump scrolling game on scratch?
- ethanbros
-
41 posts
How can I make a smooth jump scrolling game on scratch?
superseth12345 wants me to add smooth jumping on my update project “Super Ethan 63” but I thought “IDK How!” so I came to the discuss tab and I'm asking you.

- ProdigyZeta7
-
1000+ posts
How can I make a smooth jump scrolling game on scratch?
when gf clicked
set y-velocity to 0
set y to (ground y)
forever
change y by (y-velocity)
if <(y position) > (ground y)>
change y-velocity by -0.5
else
set y to (ground y)
set y-velocity to 0
if <space key pressed?>
set y-velocity to 5
set y-velocity to 0
set y to (ground y)
forever
change y by (y-velocity)
if <(y position) > (ground y)>
change y-velocity by -0.5
else
set y to (ground y)
set y-velocity to 0
if <space key pressed?>
set y-velocity to 5
Last edited by ProdigyZeta7 (June 30, 2013 02:12:20)
- Discussion Forums
- » Help with Scripts
-
» How can I make a smooth jump scrolling game on scratch?