Alice Community  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
collision help please
Old
dylmyster22
Guest
 
Status:
Posts: n/a
Default collision help please - 04-29-2010, 03:00 PM

Ok so I'm working on a small project, just a small pacman game. Like in normal pacman, you cant pass through the walls. In my world, I put boxes down to make the field for him to run around and i was wondering, what would be the simplest way to put in a collision detection without making the code really long? When done with the project, i will have up to, if not more than 150 boxes. That would be alot of if/else statements =P.
   
Reply With Quote
 

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