Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
racing game?
Old
annaandcat
Guest
 
Status:
Posts: n/a
Default racing game? - 05-07-2011, 01:40 PM

I'm trying to create a racing game in Alice. I have the streets and the car but I can't find a way to make the car stop when it goes off the road. The only way I can think of is have "While car is within 5 meters of road, road1, road2, road3, turn, road 4.... Do car move forward...." But even that wont work because it measures 5 meters from the center of the road. So I would have to put in a bunch of invisible objects on the road and say "while car is within 5 meters of object, object2, object3....." that would crash the computer though wouldn't it? Is there any other way to do this?
   
Reply With Quote
 

Tags
car, game, racing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.