This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-02-15 17:54:47

bobbob2000
Scratcher
Registered: 2008-02-12
Posts: 7

noob needs serious help ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!1

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

 

#2 2008-02-15 20:24:23

rockie
Scratcher
Registered: 2007-11-18
Posts: 100+

Re: noob needs serious help ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!1

<when green flag clicked>
<forever if><touching[ wall
<move(- 5 )steps>

Last edited by rockie (2008-02-15 20:26:23)


No signature currently stored in profile.

Offline

 

#3 2008-02-15 20:38:08

bobbob2000
Scratcher
Registered: 2008-02-12
Posts: 7

Re: noob needs serious help ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!1

thank you very very very very very much

Offline

 

#4 2008-02-15 21:33:30

B-Reyn428
Scratcher
Registered: 2007-09-08
Posts: 55

Re: noob needs serious help ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!1

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>


http://img233.imageshack.us/img233/7682/mybannerblinkyd0675d390.gif
http://scratch.mit.edu/projects/B-Reyn428/673836

Offline

 

#5 2008-02-16 05:52:20

Llamalover
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: noob needs serious help ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!1

I'd say B-Reyn428's would actually work best if you want your sprite to stop when it touches the wall.


Be nice, I'm an old lady  wink

Offline

 

#6 2008-02-16 07:36:20

dankrasnove
Scratcher
Registered: 2008-02-11
Posts: 2

Re: noob needs serious help ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!1

dude, i have the same problem, except with a jetpack man.

Offline

 

Board footer