Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Smooth Jumping
- clumsyrowlet
-
Scratcher
9 posts
Smooth Jumping
I want a smooth jump with animations. could you help?
Thanks.
Thanks.
- shadow_amalgam
-
Scratcher
70 posts
Smooth Jumping
Here is a code for smooth jumping:

Hope this helps!

Hope this helps!
Last edited by shadow_amalgam (Sept. 8, 2022 19:17:58)
- clumsyrowlet
-
Scratcher
9 posts
Smooth Jumping
These are my jumping blocks:
when green flag clicked
forever
if <key [ space] pressed?> then
switch costume to [ v]
wait (.1) secs
switch costume to [ v]
wait (.1) secs
switch costume to [ v]
wait (.1) secs
switch costume to [ v]
wait (.1) secs
switch costume to [ v]
wait (.3) secs
switch costume to [ Standing]
end
end
when green flag clicked
forever
if <key [ space] pressed?> then
repeat (3)
change y by (30)
wait (.5) secs
repeat (3)
change y by (-30)
end
end
end
end
- Discussion Forums
- » Help with Scripts
-
» Smooth Jumping

