Computer Science Canada NEED HELP ENDING MY PACMAN GAME WHEN IT TOUCHES THE WALLS! |
Author: | kbj7 [ Sat Jun 04, 2005 5:34 pm ] | ||
Post subject: | NEED HELP ENDING MY PACMAN GAME WHEN IT TOUCHES THE WALLS! | ||
this is my maze. HELP MAKE THE GAME END WHEN MY PACMAN TOUCHES THE WALLS PLEASE!!!!! make an example so i would understand, im a newbie thanx. ![]()
|
Author: | lyam_kaskade [ Sat Jun 04, 2005 6:30 pm ] |
Post subject: | |
Interesting...but right now all you have is several boxes. A pac man game would be much more complicated. Check out the Turing Walkthrough here: http://www.compsci.ca/v2/viewtopic.php?t=8808 Specifically to stop the pacman from touching the walls, you'll need to learn about collision detection. This can be found at the collision detection tutorial here: http://www.compsci.ca/v2/viewtopic.php?t=75 |
Author: | vagyb [ Sat Jun 04, 2005 9:48 pm ] |
Post subject: | |
i guess u can use whatdotcolor command for collison detection in a simple pacman game? |