Thread: Nibbles (DirectX) play my first completed game's Upgrade!

  1. #1
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704

    Nibbles (DirectX) play my first completed game's Upgrade!

    The original dos version: http://cboard.cprogramming.com/showt...threadid=32503

    Ive upgraded it to DirectX, not with out its own new and unique bugs of course.

    To play, press arrow keys to move the snake around and gobble the apples. I suggest playing in fullscreen the first time as you get to see the full poor quality of my programmer art. Play in windowed mode to see the odd bug.

    If you have any clue as how i can fix the displaying of bitmaps bug, please do tell. Details on where to find the sources of error are mentioned with the bug.

    Download file: http://amithran.hybd.net/downloads/dxnibbles.zip

    BUGS:
    =Color distortion(windowed mode): I dont know wtf is going on here, but i have narrowed down the cuase to my Initiating the D3D Device. Functions that may hold the Answer:
    -GameInit() , (gmain.cpp) // calls initD3DDevice
    -InitDirect3DDevice , (d3d.cpp) // inits the device
    -CMedia::RenderTile , (Media.cpp) // how i render the bitmaps


    =MsgBox pops up and not visible ( full screen mode): Due to the game running in Full screen mode, when the message box pops up asking you to play again (after you die) you cant see it. Press enter to play again, or tab then enter to quit. SHIFT+q = (Q) will exit the game at any time.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  2. #2
    Registered User codingmaster's Avatar
    Join Date
    Sep 2002
    Posts
    309
    Have played both games, I think that the first one (console) wasn't so good.

    But the second one is quit cool

    I gonna debug and view through your source and search for bugs.

    Maybe I find some solutions.....

  3. #3
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    Glad to hear. Thanks.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  4. #4
    Registered User codingmaster's Avatar
    Join Date
    Sep 2002
    Posts
    309
    no problem!!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Boom, Headoshot!!
    By mrafcho001 in forum A Brief History of Cprogramming.com
    Replies: 50
    Last Post: 07-21-2005, 08:28 PM
  2. GUI Programming (Not Games), OpenGL vs DirectX?
    By Zeusbwr in forum Game Programming
    Replies: 11
    Last Post: 01-20-2005, 01:02 PM
  3. Video Games Industry. 5 years left.
    By Cheeze-It in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 12-10-2002, 10:52 PM
  4. Looking for some games to play...
    By drdroid in forum Game Programming
    Replies: 13
    Last Post: 09-26-2002, 05:35 PM
  5. My DirectX games
    By Sang-drax in forum Game Programming
    Replies: 8
    Last Post: 05-26-2002, 10:30 AM