Two questions for a text game

This is a discussion on Two questions for a text game within the C++ Programming forums, part of the General Programming Boards category; Wasn't sure if this should go in C++ or Games board but Games Board seems to relate to graphics, ah ...

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    14

    Two questions for a text game

    Wasn't sure if this should go in C++ or Games board but Games Board seems to relate to graphics, ah well, feel free to move this.

    Okay, I have two problems, one is not too important, the other is major, at least for a text game it is. Note I'm using Open Watcom C and C++ compiler, why? You may ask, it's because I want to develop my text game as a 16-bit DOS game rather than a shelled game for more advanced Windows systems, I have my reasons.

    First problem, now I've tried to make rooms in the text game, but it continuously failed, I've only tried arrays though, I don't have my old source code for it anymore, I plan to write a new version once I know what to do.

    Second problem, this isn't too major, but I want my game to look nice, (for a text game, that is) by coloring names of items/places/people/whatever. However DOS can't use the only text coloring functions I know (which was something to do with conio.h)

    I might also have trouble with the battle system, but I should be able to figure it out sooner or later, can someone help me or at least give me helpful links to the two current problems I am having (Yes, I've googled it all before)

  2. #2
    Registered User
    Join Date
    Jun 2009
    Location
    Adeliade, AU
    Posts
    128
    Moving between areas

    This is a link I had help in, maybe looking through that could help you out.

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,467
    Quote Originally Posted by GlitchGuy2 View Post
    Second problem, this isn't too major, but I want my game to look nice, (for a text game, that is) by coloring names of items/places/people/whatever. However DOS can't use the only text coloring functions I know (which was something to do with conio.h)
    What were you trying to use? Conio is indeed fully compatible with DOS.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 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, 10:46 AM
  2. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  3. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 06:18 AM
  4. My Pre-Alpha Version Rpg Text Game
    By knight543 in forum C++ Programming
    Replies: 1
    Last Post: 04-06-2002, 05:02 AM
  5. Saving a text game
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 03-27-2002, 12:33 PM

Tags for this Thread


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