![]() |
Multiple collision detections. NEED HELP!!!
1 Attachment(s)
for a project in school, i am making Pac-man. I'm currently trying to make Pac-man not run through walls. the only way i know how to do this would be to do every little section of the maze individually. this would take me an incredibly long time to do, so i was wondering if there is an easier way to do this. if you could help me out, this would be great. and also, my computer wont let me open any files from the forums because they are compressed. so if you could explain it, that would be great.
|
Have you tried to use lists?
|
[QUOTE=reuben2011;36796]Have you tried to use lists?[/QUOTE]
Ya, the problem is that there are over 200 pieces in the maze, also, using lists doesn't seem to help, it wont let me do anything along the lines of " if pacman is with in x distance of objects in list", it will always make me pick the objects |
Use the "For all togethor" at the bottom.
|
All times are GMT -5. The time now is 12:24 PM. |
Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.