Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Launching a sprite
- codderuzzu
- Scratcher
33 posts
Launching a sprite
I want to know how to launch a sprite in a direction. Not just a sprite moving but also falling to the ground after sometime.
- moob10293
- Scratcher
42 posts
Launching a sprite
you could make the x and y values separate. first, you could get a jumping script, such as
repeat (10)then, you could make it run a sideways script at the same time such as
change y by (5)
end
repeat (10)
change y by (-5)
end
foreverusing two different when flag pressed scripts
if <not <touching [ground] ?>> then
change x by (5)
end
end
- Discussion Forums
- » Help with Scripts
- » Launching a sprite