Thread: Demo PacMan Clone

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    94

    Talking Demo PacMan Clone

    Here's an incomplete demo-version program of a PacMan-type game I'm making. Read the "Manual.txt" file included in the zip attachment before you play, as there are some major differences between real PacMan and this PacMan. For instance, as of now I have no ghosts, and the challenge is to get through the maze without running into walls. Harder than it sounds, believe me .
    So load it up and tell me what you think, and criticism is welcomed (though do try and not get too rude about it lol) as this is a demo version of the game and I'd like ideas on what I can do to fix it up before I totally finish and release it to you all (by a different title, of course!)

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    It's missing the MFC42D.dll...the .exe can't run w/out it...
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #3
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Originally posted by Sebastiani
    It's missing the MFC42D.dll...the .exe can't run w/out it...
    I'm proud to say I'm missing that one too

  4. #4
    Registered User
    Join Date
    Jul 2002
    Posts
    94
    Lol I know. The manual says you need that stuff. But I'll attach all those stupid DLLs in the next post.

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    94
    Sorry, I can't help ya. Even zipped the file is too big. If you really really want to try the game, ill email them too ya but otherwise thanks for attempting .

    Brendan

  6. #6
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    Why don't you build a stand-alone exe, which doesn't need such runtime DLLs?

  7. #7
    Registered User moonwalker's Avatar
    Join Date
    Jul 2002
    Posts
    282

    Questions

    I dont use Microsoft compilers.

    I have Borland C++ 5.5 (the free version, for the poor guy)

    All the programs that I wrote so far run in DOS box. Only
    one of them included windows.h

    Do you think my programs need a DLL too ?
    How do I make Stand Alone EXEs in BC++ 5.5 ?

    I also had problems using the same code from one compiler
    to the other compiler. For example, delay is not recognized
    by Dev C++ but works fine with older versions of Turbo C++.

    How do I make the programs stardard such that if I copy and paste the code from one compiler to the other compiler, they compile smoothly without giving errors ? Isn't there a stardard set of functions/commands that work in almost ALL the compilers ?

    (too many questions, oops..)
    Last edited by moonwalker; 07-22-2002 at 06:24 AM.

  8. #8
    Registered User
    Join Date
    Jul 2002
    Posts
    94
    As a matter of fact, I was planning on converting the MFC program to stand alone. My completed program will be MFC-free. I only used MFC originally because it was easier for me to use; I don't have much experience with normal Windows and I have issues with creating the window. I'll convert it today.

    Also, thanks for the good comment.

    Brendan

  9. #9
    Registered User
    Join Date
    Jun 2002
    Posts
    267
    Technically if you only write standard code, all ANSI C compilers should work without errors or differences.....

    I like the game

  10. #10
    Registered User moonwalker's Avatar
    Join Date
    Jul 2002
    Posts
    282

    yeah, but

    yeah, but how do you know which one is standard ??

    I'll post some code in a new thread if anyone here can
    help me point out the stuff in my code that is not standard...

    anyone??

  11. #11
    Registered User
    Join Date
    Jul 2002
    Posts
    94
    I'm not sure how much I can help here as I have MVC++. But when you create a new project, there must be some way that you can select something like "Create an empty project". That, I believe, would be stand alone.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Forming RTS Demo Team – Sixth Extinction
    By SteelRain4eva in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 06-08-2006, 08:47 PM
  2. Adventurers and Outlaws and new Demo
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 11-07-2004, 05:06 AM
  3. Feedback for my PacMan clone
    By snoman in forum Game Programming
    Replies: 2
    Last Post: 06-23-2003, 05:15 PM
  4. Second MoA Demo Tomorrow
    By harryP in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 09-30-2002, 07:22 PM
  5. SkyLock graphics engine demo
    By jdinger in forum Game Programming
    Replies: 18
    Last Post: 06-26-2002, 07:58 AM