Pages: 1
Topic closed
hi im new to scratch but still know more than freinds at school lol. Anyway they made me promise to make them a halo platform game. my problem is that i have made walls see but the sprite just walks through them. i want it to stop, not turn around, not bounce, just stop but nothing works. does anyone know how to do this without long strings of variables and numbers because they make my head explode. SOMEONE PLZ HELP BEFORE I GO INSANE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Offline
thank you very very very very very much
Offline
You could also say:
<when green flag clicked>
<forever if><<not> <touching[ right wall >>
<if> <key[ right arrow ]pressed?>
<move( 5 )steps>
<when green flag clicked>
<forever if><<not> <touching[ left wall >>
<if> <key[ left arrow ]pressed?>
<move( -5 )steps>
Offline
I'd say B-Reyn428's would actually work best if you want your sprite to stop when it touches the wall.
Offline
dude, i have the same problem, except with a jetpack man.
Offline
Topic closed
Pages: 1