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

  • "Security" is the number one issue holding business leaders back from the cloud. But does the reality match the perception? Keeping data close to home, on premises, makes business and IT leaders feel inherently more secure. But the truth is, cloud solutions can offer companies real, tangible security advantages. Before you assume that on-site is the only way to keep data safe, it's worth taking a comprehensive approach to evaluating risks. Doing so can lead to big benefits.

  • Protecting business operations means shifting the priorities around availability from disaster recovery to business continuity. Enterprises are shifting their focus from recovery from a disaster to preventing the disaster in the first place. With this change in mindset, disaster recovery is no longer the first line of defense; the organizations with a smarter business continuity practice are less impacted when disasters strike. This SmartSelect will provide insight to help guide your enterprise toward better …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds