Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how to stand on a brick or somthing
- SuperCAB
- New to Scratch
11 posts
how to stand on a brick or somthing
how would i stand on something when i jumped up like in Mario
- picopaper
- Scratcher
500+ posts
how to stand on a brick or somthing
Here's a basic jumping script:
when green flag clickedHope this helps!
set [yv v] to [0]
forever
repeat until <touching color [black]?>
change [yv v] by (-0.5)
change y by (yv)
end
if <key [up arrow v] pressed?> then
set [yv v] to [10]
change y by (yv)
end
end
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*
- Discussion Forums
- » Help with Scripts
- » how to stand on a brick or somthing