Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Lot of trouble with random movement, need help as soon as possible :)! (http://www.alice.org/community/showthread.php?t=1077)

laurentam2007 12-01-2007 05:38 PM

Lot of trouble with random movement, need help as soon as possible :)!
 
I'm trying to make a game using a list. I have a skateboarder and I want her to move, following a road.
I want objects to randomly move across the road to make it difficult to get through.
The list is the objects I'm having randomly move.
How do I get the objects to not move past the screen and off the road?
I had it set to RandomObjectList move forward 5 meters, but sometimes they'll go off the screen and completely away from the road.

Thanks a lot!


All times are GMT -5. The time now is 12:16 AM.

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