Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make player blocking when I jump on a block.
- JarekJarek
- New to Scratch
1 post
How to make player blocking when I jump on a block.
Hello everyone,
I made a simple script which block player when he touch a wall, but i don't know how to make a script which block player when he jump on a block.
Thank you for help!
Sorry for my bad English.
I made a simple script which block player when he touch a wall, but i don't know how to make a script which block player when he jump on a block.
Thank you for help!
Sorry for my bad English.
when green flag clicked
forever
if <key [d v] pressed?> then
change x by (10)
end
if <touching color [#b7d6d6] ?> then
change x by (-10)
end
Last edited by JarekJarek (July 2, 2017 11:33:34)
- asivi
- Scratcher
1000+ posts
How to make player blocking when I jump on a block.
That @HoofEMP said(i think but not tested) or
when green flag clicked//not tested
forever
if <key [d v] pressed?> then
change x by (10)
if <touching color [#b7d6d6] ?> then
change x by (-10)
end
end
Last edited by asivi (July 2, 2017 12:58:15)
- Discussion Forums
- » Help with Scripts
- » How to make player blocking when I jump on a block.