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

  • A global data storage provider whose business is booming needed a best-in-class data center to serve as the backbone of its technical operations going forward—and it needed it delivered within a year.

  • The explosion in mobile devices and applications has generated a great deal of interest in APIs. Today's businesses are under increased pressure to make it easy to build apps, supply tools to help developers work more quickly, and deploy operational analytics so they can track users, developers, application performance, and more. Apigee Edge provides comprehensive API delivery tools and both operational and business-level analytics in an integrated platform. It is available as on-premise software or through …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds