Discuss Scratch

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)
change y by (5)
end
repeat (10)
change y by (-5)
end
then, you could make it run a sideways script at the same time such as
forever
if <not <touching [ground] ?>> then
change x by (5)
end
end
using two different when flag pressed scripts
codderuzzu
Scratcher
33 posts

Launching a sprite

Thanks!

Powered by DjangoBB