Discuss Scratch

picopaper
Scratcher
500+ posts

Landing

Although I can make a sprite jump easily enough, it always seems to embed itself into the ground when it lands, causing all sorts of problems. How would I go about fixing this?

Last edited by picopaper (Oct. 25, 2013 18:30:31)


if <(platypus) = [platypus]> then
set [platypus v] to [platypus]

Pigs with Jetpacks! (a game of porcine combat)

What is with all these kumquat sig– *gulp*
drmcw
Scratcher
1000+ posts

Landing

If its touching the ground then move -1 until not touching the ground.

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
scubajerry
Scratcher
1000+ posts

Landing

And if you are moving with X and Y velocities change Y by +1 until niot douching the ground. See http://scratch.mit.edu/projects/12969047/

Powered by DjangoBB