MS DOS game with c++

This is a discussion on MS DOS game with c++ within the C++ Programming forums, part of the General Programming Boards category; I just started learning c++ 5 days ago, and this game is what ive made so far. No, im not ...

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

    MS DOS game with c++

    I just started learning c++ 5 days ago, and this game is what ive made so far. No, im not new to programming, i program extensivly in PERL, but i moved to c++ recently.

    The game is going to be a single player Dos RPG. So far ive got a character creation, sex, and class choice programmed in. As well as a scrolling terrain!!

    http://www.goten.f2s.com/rof2.ex
    After you download, rename to rof2.exe, my server wont allow me to hold zips or exe's. Then run the game. You will be greeted with a new character screen. Follow the directions to create your new character. Then it will switch to the scrolling terrain part. Use 8,6,2,4 followed by ENTER, to move UP, RIGHT, DOWN, LEFT respectively. IM working on fixing it so you can use the arrow keys, with out pressing enter in the next version.

    Please let me know what you think about it.


    Warning: This IS an exe program, if you feel unsafe about using EXE's from the net, check it for virus with NORTAN or some other anti-virus program. If your still uncomfortable that is understandable too.
    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
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    wow!->scrolling->terrain(cool)

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

    cpp

    I decided to add the cpp files, becuase many might be too weary of exe files.
    Attached Files Attached Files
    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
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704

    Red face YOur gonna need the classes too.

    this is included by main.cpp
    Attached Files Attached Files
    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.)

  5. #5
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    It's amazing what you can do with bios fonts. Did you just use that conio function that changes color? Or what?

  6. #6
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    actualy, i used windows.h functions. SetConsoleTextAttributes() or something like such.
    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.)

  7. #7
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    Dude!

    Dude, that is awsome! You started learning c++ 5 days ago!? Man, what book are you using? Please tell me!

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

    Talking resources.

    Im using "Sams Teach yourself C++ in 24 hours".
    But im only half through chapter 12.

    But as i said in my first post, i programmed extensivly in PERL, so i have a good grasp of programming techniques. The hardest part is finding resource that tells you HOW to do things, not that you NEED to do them.


    I also read many message boards for problems i have, and what others have had, it helps.

    PLUG:: http://www.webrpg.f2s.com
    my PERL/CGI web rpg in development.
    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.)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 20q game problems
    By Nexus-ZERO in forum C Programming
    Replies: 24
    Last Post: 12-17-2008, 05:48 PM
  2. Need book to program game into multiplayer...
    By edomingox in forum Game Programming
    Replies: 3
    Last Post: 10-02-2008, 10:26 AM
  3. 2D Game project requires extra C++ programmers, new or experienced
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 05-16-2007, 11:46 AM
  4. Help me correct game errors (dos)
    By Mech0z in forum Game Programming
    Replies: 0
    Last Post: 02-11-2006, 02:21 PM
  5. borland dos game
    By pode in forum Game Programming
    Replies: 21
    Last Post: 05-30-2002, 12:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21