📅  最后修改于: 2022-03-11 14:58:59.798000             🧑  作者: Mango
Jumping smoothly in Scratch
when (up arrow) pressed
set [y velocity] to (20)
if then
change y by (y velocity)
repeat until
change y by (y velocity)
change [y velocity] by (-1)
set [y velocity] to ((y velocity)*(-1))
change y by (y velocity)