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

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • Due to internal controls and regulations, the amount of long term archival data is increasing every year. Since magnetic tape does not need to be periodically operated or connected to a power source, there will be no data loss because of performance degradation due to the drive actuator. Read this white paper to learn about a series of tests that determined magnetic tape is a reliable long-term storage solution for up to 30 years.

Most Popular Programming Stories

More for Developers

RSS Feeds