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

#1 2010-04-26 08:41:41

dgiddings
Scratcher
Registered: 2010-04-25
Posts: 11

Please Help!!!

Hello,
I am new to scrath and am programming a racing track but i cant find the scripts that will NOT allow my racing car outside the track. If anyone can help me or give me the scripts to make the out side lining around my track solid so that the car cannot go out of the coarse, will you please reply and help!
Thank you!

Offline

 

#2 2010-04-27 20:56:15

abootflock
Scratcher
Registered: 2010-02-20
Posts: 21

Re: Please Help!!!

HI! The Code Is Pretty Simple. All You Need To Do Is, say outside the track is green:::
<if><touching color[green]>
<go to x:(StartX)y:(StartY)>

Or, Just look at my project about it. (Not up yet, will reply again when ready)

Offline

 

#3 2010-04-27 21:15:43

abootflock
Scratcher
Registered: 2010-02-20
Posts: 21

Re: Please Help!!!

Here It IS! http://scratch.mit.edu/projects/abootflock/1012777

Offline

 

Board footer