-
pacman ai collision and flee
Hi,
I would like some more help, please.
The problems is with completing my pacman game. The problems occur with the ai, collision detecting, and the ghosts fleeing.
There are three ghosts blue, green, and red. The blue ghost is suppose to act like a homing missile,but it doesn't. The green ghost is suppose to use the bloodhound ai, but it sometimes gets trapped at a wall. The red ghost is to move randomly. Also, none of them flee properly.
In the demo most of the time if you move towards any of the ghosts you will see that pacman will become the ghost.
http://www.geocities.com/calvinl97/l...es/pacman1.zip
Any help will be appreciated.
Thank you.
-
-
Originally posted by pode
your link was dead!
-
What's wrong with copying and pasting? Anyways goto http://www.geocities.com/calvinl97/l...rogramming.htm and download pacman1.zip.
Last edited by lambs4; 01-29-2003 at 09:53 AM.
-
Registered User
>>your link was dead!
Geocities has a problem with directly linking to a file. Like lamb said, go to the page he linked.
And for lambs:
I would suggest changing the color of the pathway, other than that I'm looking over your code to try and find your problem. Also, are you using the timer for allegro? The game runs too fast on my machine.
-
Yes, I'm using the Allegro timers.
Popular pages
Recent additions