StackUp V1.0 - the DirectX game

StackUp is an old logical 2D game. First I saw it on C-64 and  I very enjoyed it (2D games are my favourites). I programmed it on Amiga (assembler / hardware chipsets addressing) few years ago. I think that C++ / DirectX / MFC is one of the easiest and fastest ways to do this game.

stackup_options.gif (3945 bytes) stackup.jpg (12861 bytes)

 

It is based on VC+ 5.0 MFC - appwizard project and it also uses MFC functions. The version 1.0 requires DirectX 3.0 and higher.

  • DirectDraw
  • DirectInput
  • DirectSound

MFC Classes:
  • CStackUpApp - creates MFC application object
  • CStackUpWnd - creates the main window

Generic Classes:

  • CLogo - handles the menu
  • COptions - class for menu items
  • CGame - contains main game routine

Download Game Media Files - Executable (340 KB)

Download Game Project - Source Code (44 KB)



Comments

  • Is ur executable file virus ?

    Posted by Legacy on 12/20/2003 12:00am

    Originally posted by: neanderthal

    it made me have to restart
    

    Reply
  • entry point?

    Posted by Legacy on 08/06/2003 12:00am

    Originally posted by: ian

    I thougt all windows programs in c++ had a winmain... where is the entry point for this program?

    Reply
  • Error - DD - SetDisplayMode

    Posted by Legacy on 01/16/2002 12:00am

    Originally posted by: Neo

    The project compiles great but I keep getting this error when I run it. Does anyone know what it is.

    Error - DD - SetDisplayMode

    Reply
  • good

    Posted by Legacy on 03/19/2001 12:00am

    Originally posted by: solano

    i love this game

    Reply
  • How to paste at run time to 640x480

    Posted by Legacy on 12/22/2000 12:00am

    Originally posted by: Thierry LEBRUN

    When I run the prg, the application is 640x480 at the left top corner in my 1024 768 screen. How can i change it at run time to 640 480

    Great Great application

    Thierry

    Reply
  • Kidding?

    Posted by Legacy on 12/14/2000 12:00am

    Originally posted by: Pavel Gorbunov

    have a good day, Petr. Never to show your source :)
    visit www.developers.f2s.com

    Reply
  • umm... How much time did you spend writing such a neat code???

    Posted by Legacy on 12/12/2000 12:00am

    Originally posted by: TIM

    umm... How much time did you spend writing such a neat code???

    Reply
  • Can not find DINPUT.DLL file...

    Posted by Legacy on 05/20/2000 12:00am

    Originally posted by: Bankim Patel

    I downloaded the executable, but it can not find
    the dinput.dll file.

    Does anybody know how to get this file.

    Bankim

    Reply
  • Bitmap Erasing

    Posted by Legacy on 04/21/2000 12:00am

    Originally posted by: saravanan

    I love ur game very mush. It has done with creativity. I this this creativity. when I move the image, the previous image should be erased. When I erase the prevous image it should not erase the background image and should not have
    flicker. Pls giud me.


    SARAVANAN M
    sarchandra@yahoo.com

    Reply
  • LoadBitmap Failed!

    Posted by Legacy on 03/01/2000 12:00am

    Originally posted by: Thorsten Steckstor

    When starting the program, after the screen initialization, I receive the error message:
    "Error - DD - LoadBitmap bmp/logo.bmp"
    Why is that?
    Or where is the bitmap???

    Reply
  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • You probably have several goals for your patient portal of choice. Is "community" one of them? With a bevy of vendors offering portal solutions, it can be challenging for a hospital to know where to start. Fortunately, YourCareCommunity helps ease the decision-making process. Read this white paper to learn more. "3 Ways Clinicians can Leverage a Patient Portal to Craft a Healthcare Community" is a published document owned by www.medhost.com

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds