Skip to content

Latest commit

 

History

History

XNAPacMan

XNA Pac Man

by Dr_Asik version 1.1 released on December 10th, 2008


TO INSTALL : Unzip the archive, and double-click the setup.exe file located in the Install folder. On Windows 7, this should take a minute. On Windows Vista, a few minutes, and on XP, it can take longer or sometimes fail. This is an issue with XNA's built-in installer which I used. If the installer ever fails, try installing the .NET framework and the XNA framework manually, and then re-run the installer. They can be found at (http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6) and (http://www.microsoft.com/downloads/details.aspx?FamilyID=80782277-d584-42d2-8024-893fcd9d3e82&displaylang=en) respectively.


DISCLAIMER : Pac Man is a registered trademark of Namco Ltd. All graphics were painted by me in Paint.NET. All sounds are a courtesy of Allan West from the Flash Forums. Check out his website at http://flashcadabra.com/welcome.html


ABOUT : My Pac Man clone is the product of careful research on how the original pac man was made. The AI is described in Ghost.cs and is as faithful as possible to the original. First, it is deterministic. There is no element of randomness in the game. However, the update rate is of 1000 per second, so executing patterns requires perfect accuracy. Secondly, each ghost has its own AI, as in the original, has the same scatter modes and number of scatter modes per level, pretty much everything is there. The only major thing missing is the movies between levels.

Game constants (relative speed of everything, scores, timers etc) were as much as possible taken from reliable sources describing the original game, but where I couldn't get the data I made up values that made the game fun and interesting to play.


CONTACT : Do you like this game ? Do you need explanations on the source code ? email me at [email protected].

This sample was taken from http://drasik.blogspot.com/2008/12/xna-pac-man.html and converted to MonoGame by Kenneth J. Pouncey If something does not work it is not the fault of the author

Please read his page as there is a very interesting article that he links to about the AI in the game.