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: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • In this webinar, IDC featured speaker Steve Conway, Vice President of High Performance Computing, will present an update on the global x86 HPC cluster market. The presentation will include IDC's five-year forecast for the medium- to large-scale technical computing and data analysis emerging markets by systems, processors and application middleware. Cray's featured speaker, John Lee, Vice President of Cray Cluster Advanced Technology Systems, will present the new Cray® CS400™ cluster series based on …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds