Important alert: (current site time 7/15/2013 9:03:39 AM EDT)
 

winzip icon

Pacman

Email
Submitted on: 4/27/2007 5:40:47 PM
By: Brian Bender 
Level: Intermediate
User Rating: By 9 Users
Compatibility: C#
Views: 17683
 
     This is a duplicate of the original Pacman coded from scratch in Raw C#. The game board and characters are drawn in raw GDI. Back in the 80's, this game was a huge part of my life. That and the Commodore 64 were the 2 eras of my life that helped me to coding as a career. I told myself that someday when I became a programmer I would write this sucker from scratch. Finally the time allowed it.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

4/28/2007 10:16:12 AMEagle

Boy are we showing are age. I to remember the Commodore Products. Since I use to sell them and all the neat software for them. How about the Amiga?? You did alot of work on this. Thanks for sharring and bring back the old days. 5 Globes from this end
(If this comment was disrespectful, please report it.)

 
4/28/2007 10:30:44 AMOption Explicit

This is great work Brian. I've always wanted to recreate my favorite from this era, Start Castle. I love these old arcade games; everything now is based on fighting or D&D-style quests. Sometimes older IS better. Thanks for sharing this gem.
(If this comment was disrespectful, please report it.)

 
4/28/2007 10:32:37 AMOption Explicit

BTW: My first system was a Commodore VIC-20... 4K RAM, "Datasette" drive, 16L memory upgrade card. yes we are old :)
(If this comment was disrespectful, please report it.)

 
4/30/2007 2:32:25 AMGilbert Toledo

I worked in Commodore Philippines. Before and i remember this kind of game. 5 gloves from me, its such an excellent program....
(If this comment was disrespectful, please report it.)

 
5/16/2007 6:00:16 AMpaul

Love the old stuff. Nice work.
(If this comment was disrespectful, please report it.)

 
5/23/2007 4:14:12 AMVanmaN

Screenshot looks great. the entire Pacman series is still part of my favourites list. However, i cannot get this code to compile in Visual Studio 2005 nor in C# 2005. The compiler complaints about locking a DLL in Direct X.
(If this comment was disrespectful, please report it.)

 
5/23/2007 12:36:25 PMBrian Bender

Thank y ou for you comments. First off, .Net framework 2.0 is not compatible with direct sound. They decided to do away with Direct X support and implement XNA support. The reason why I had to use DX, was to play multiple sounds simultaneously. Believe it or not, standard windows API does not allow this under C#. So unfortunately, unless you remove the sound, you are stuck running this under 1.1 framework. No work arounds.
(If this comment was disrespectful, please report it.)

 
5/25/2007 3:59:19 PMDaniel K Murphy

Why not try using mulitple passes with MMPlayer? I did that with a remake of the old Vic 20 "Tank VS UFO" when I learned OOP in VB.NET 2003. I have many sounds blowing off at any given time along with full background music.

This is a nice remake tho :) Great job!
(If this comment was disrespectful, please report it.)

 
2/11/2008 4:06:59 AMTimo Böhme

Unbelivable. You have not uploaded a simple fragment from PacMan. You really uploaded a playable project. I pressed F5 and then I just smiled because of the original sounds!!! Regards

(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.