Alice Community  

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

Reply
 
Thread Tools Display Modes
Multiple collision detections. NEED HELP!!!
Old
hydropotamus
Guest
 
Status:
Posts: n/a
Default Multiple collision detections. NEED HELP!!! - 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.
Attached Files
File Type: a2w Pac-man.a2w (647.8 KB, 16 views)
   
Reply With Quote
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 06-02-2011, 03:09 PM

Have you tried to use lists?


Projects
-Escape the Kitchen
-That ninja animation
-Hill Collision

Upcoming Projects
-Some penguin adventure game?
   
Reply With Quote
Old
hydropotamus
Guest
 
Status:
Posts: n/a
Default 06-02-2011, 06:59 PM

Quote:
Originally Posted by reuben2011 View Post
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
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 06-02-2011, 07:58 PM

Use the "For all togethor" at the bottom.


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein
   
Reply With Quote
Reply

Tags
collision detection, help needed, maze, pac-man, walls

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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.