Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NOT Pacman.....
#7
(09-24-2025, 04:19 PM)Marcus Wrote: I completed the game on normal difficulty level on my second try - the first time I couldn't even beat the first level! Very, very, very well done game!

Have you studied the enemy "ai" in the original pacman, or did you improvise? Smile

I really need to add a page on naalaa.com where people can download pre-compiled versions of games like this, without having to mess with n7.

Thanks Marcus, I'm impressed that you completed this in only 2 attempts - it took me 4 Smile
I did check out the ghost "ai" in the original, but thought it was overkill, as each ghost had a different "ai" . Instead, I simplified it, by testing to see which direction would take the ghost closest to pacman, and using that, so it was a simple distance calculation each time. This approach totally ignores any obstacles, but seems to get the job done. In fact, the hardest thing that I found, was dumbing down the "ai" so that the game could be completed. In the end, only one ghost in medium setting, and two in the difficult setting, have any sort of "ai" - the others all move completely randomly. The ghosts with "ai" also have a variable speed, where occasionally they will move at the same speed as pacman (all other times, and all ghosts without "ai" move at half the speed of pacman).
I think the idea of making the pre-compiled versions of games available is very good, presumably under some sort of open license?
Reply


Messages In This Thread
NOT Pacman..... - by kevin - 09-23-2025, 02:43 PM
RE: NOT Pacman..... - by Marcus - 09-23-2025, 07:51 PM
RE: NOT Pacman..... - by johnno56 - 09-24-2025, 06:49 AM
RE: NOT Pacman..... - by kevin - 09-24-2025, 07:52 AM
RE: NOT Pacman..... - by 1micha.elok - 09-24-2025, 08:26 AM
RE: NOT Pacman..... - by Marcus - 09-24-2025, 04:19 PM
RE: NOT Pacman..... - by kevin - 09-24-2025, 04:40 PM
RE: NOT Pacman..... - by Marcus - 09-24-2025, 06:45 PM
RE: NOT Pacman..... - by kevin - 09-24-2025, 07:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)