Hi guys. So I am new to scratch, and I am trying to make my own game. I want it to be inspired by the game Doodle Jump, so I would like my Sprite to be able to jump whenever touching a platform.
Do any of you know how to do that?
Thank you!
Offline
Offline
The problem with the script above is that you get a boost by going through a platform. You should add y velocity and do this
when touching platform
if y velocity < 0 (saying that the sprite is going down)
set y velocity to (how ever much)
if not y velocity < 0
nothing
Go to the wiki or a different post talking about velocity to learn how to do it
Offline