Text Based RPG

Started by
13 comments, last by steve010 21 years ago
How on earth can you code a text based RPG? It will be as my first game ever, (though I can do DirectDraw basics and do graphics on the Gameboy Advance) and I don''t see how you can code a text based RPG.
A suid program means root for me!
Advertisement
Write some code. Compile, run. Test, debug. Repeat until brilliant text RPG is complete.

If you need a more specific answer, ask a more specific question.
You don''t see how??

First learn how to use the printf() function

Then learn getch(), or whatever the function is for getting input to a terminal

Then combine those two functions in new and interesting ways.

(If you are using C++ then use << and >> instead)
That's: cout << "" << endl; and cin >> variable or const >> endl;

Where beginning game developers go.

[edited by - DIRECTXMEN on April 19, 2003 9:57:25 PM]

[edited by - DIRECTXMEN on April 19, 2003 9:57:55 PM]
I dont exactly understand what a text based rpg is, i could probably code it if i knew but how do you go about making an rpg with just text? Is it just simple graphics made of of text or is it really just all writing? I think ive decided to code one of these text graphic RPGs, wish me luck.
--------------------------http://www.gamedev.net/community/forums/icons/icon51.gif ... Hammer time
http://gamedev.net/reference/articles/article1774.asp

Hmm, i found this. it sais its a text based prg, i havent looked thru it but maybe it will give you an idea.
--------------------------http://www.gamedev.net/community/forums/icons/icon51.gif ... Hammer time
Ta Da!

http://www.gametutorials.com/Tutorials/GT/GT_Pg1.htm

Try the 3 tutorials on text adventures there. I anticipate they will answer all of your questions.

The less that is done, the less that is left undone -Lao Tsu
unkn.Enigma1625
Thats cool, but not cool enough for my standards. I have decided on making a text graphic fully operational rpg and you can''t stop me. The only problem is i think i will get addicted to makeing it longer once i get the structure running. I guess thats not such a bad thing though, just time consuming. Maybe il end up with a full legnth rpg.
--------------------------http://www.gamedev.net/community/forums/icons/icon51.gif ... Hammer time
I think by Text RPG they were looking for something that resembled more of a MUD, and not just a move n/e/s/w game with room descriptions.

With the console game that was linked, the only thing that''s possible to make the game feel "alive" is to have everything react to player input. What fun is that? I suppose this is good if you want to make the game turn based, but those are rarely fun.

Like I said above, I think the original poster was looking for more of a MUD type console game where things move on their own, and no user typing is required for objects and monsters to move about and attack. In this case, I don''t think cin and cout are going to cut it.
quote:Original post by wyrd
What fun is that? I suppose this is good if you want to make the game turn based, but those are rarely fun.


I can name many turn based games that are fun. In fact i would go so far as to say there is an abundancy of fun turn based games.
--------------------------http://www.gamedev.net/community/forums/icons/icon51.gif ... Hammer time

This topic is closed to new replies.

Advertisement