PDA

View Full Version : Multiple collision detections. NEED HELP!!!


hydropotamus
06-02-2011, 02:49 PM
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.

reuben2011
06-02-2011, 03:09 PM
Have you tried to use lists?

hydropotamus
06-02-2011, 06:59 PM
Have you tried to use lists?

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

legolizard
06-02-2011, 07:58 PM
Use the "For all togethor" at the bottom.