ALT: Creating a text-based RPG?? - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: ALT: Creating a text-based RPG?? (/thread-6127.html)
ALT: Creating a text-based RPG?? - endkiller - Nov 5, 2004 04:57 PM
I am new here and I need you to help me. Please!
So here is the problem:
Me and my friend want to create a text-based RPG. We want it to have some graphics (maps, pictures, background, buttons and so on). Can you tell me please what is the best language for this program to be created in? (Knowing that it is for PC).
ALT: Creating a text-based RPG?? - Hog - Nov 5, 2004 05:15 PM
endkiller Wrote:...text-based RPG... graphics (maps, pictures, background, buttons...)...(Knowing that it is for PC).
do you think that coherence is important?
ALT: Creating a text-based RPG?? - Nick - Nov 5, 2004 05:30 PM
I would just use a simple C++ program utilizing the iostream functions (cout, cin) to create a DOS based program. You won't get graphics, but then it wouldn't be quite text based.
ALT: Creating a text-based RPG?? - JustinFic - Nov 5, 2004 07:58 PM
If you're making an RPG, the key feature you should look for is if the language is object-oriented. Object oriented languages let you define classes, which are essential for the complexity of an RPG. (Example, the flaming sword is a member of the weapon class, and you can use this same class to make many different types of weapons.)
C++, Java, Ruby and Python all come to mind. I know little about Ruby or Python except that they're object-oriented, so I don't want to compare them, but out of C++/Java, Java is the better choice. You can output text and display basic graphics very easily, while with C++ you'll probably need to learn way more to display graphics.
ALT: Creating a text-based RPG?? - Skorche - Nov 5, 2004 11:17 PM
I'd go the scripting language route. (Ruby, python, perl, etc) Way easier to learn, and no compilers to diddle with. If you're going to learn a new language, it might as well be ruby. (so says me anyway...)
ALT: Creating a text-based RPG?? - endkiller - Nov 6, 2004 01:55 AM
We recently discovered a book that is like a tutorial in creating exactly what we are about to. I think it is a big step for those who want to do the same thing. It is called: Games C++ - Programing RPGs with DirectX 2002. You can find it on eMule.
I will let you know how it goes. I hope I will have the chance to present our finished work.
ALT: Creating a text-based RPG?? - sealfin - Nov 6, 2004 02:22 AM
BY the way, if you're using DirectX (which seems overkill for a text-role player...) you won't have the option porting it to other platforms; if you're going the C++ route, you might want to investigate SDL, which will allow you to develop for Windows, Mac OS X, Linux, etc from the start - if you know C++, it has a very little learning curve, and a lot of 'plug-in' libraries for loading images, loading audio, fonts, etc.
ALT: Creating a text-based RPG?? - hokan - Nov 6, 2004 05:40 PM
ALT: Creating a text-based RPG?? - Fenris - Nov 7, 2004 05:25 AM
Hm, Hokan... that's actually a very cool idea...
ALT: Creating a text-based RPG?? - Fenris - Nov 7, 2004 05:28 AM
Also, please notice that this is a Mac developer forum. Not that we won't help you, just keep in mind that we aren't exactly eating DirectX for breakfast around here. That, and we aren't too keen on piracy, so eMule book piracy isn't really OK around here.
That said, welcome to the hobby, and good luck!
ALT: Creating a text-based RPG?? - gatti - Nov 8, 2004 07:06 AM
For the ultimate in web/text based RPG games, you all have to check out http://www.kingdomofloathing.com/
The game is for classic gamers whom itch for a truly ubsurd and wild environment.
ALT: Creating a text-based RPG?? - Bladedancer7 - Nov 9, 2004 07:11 PM
Hi i'm also trying to make a text rpg but i'm trying to learn BlitzBasic so i wanna create the game in Blitz. I have a friend who can draw me some cool stuff for backrounds so i can just scan it. Anyways to the point, I'm looking for a Tutorial to make a sample text rpg in blitz.
[b]PLEASE HELP ME IF YOU KOW OF ONE!!!!!!!!!!!!
ALT: Creating a text-based RPG?? - sealfin - Nov 10, 2004 01:32 AM
Blitz isn't yet available for Mac, so I doubt anybody here will be able to point you to a tutorial - either check out the official Blitz forums where ever they may be located, or ask in the YakYak programming forums - a bunch of Blitz coders congregate there...
ALT: Creating a text-based RPG?? - WaaMatt - Nov 13, 2004 12:13 AM
Funny, I'm trying to do a text RPG as well (though I'm making myself want to stop by wanting so much overly complex, pointless... stuff) as a first step towards eventually making a classic NES-style RPG!
My intention is to do it with Obj-C and Cocoa and even though it's all text, I might build an interface for it (an output window - which, for such things, I can never get more than one line of text to appear... That is, as separate outputs; and a button for, oh, I dunno, "Action!").
Um. Yeah... As a D&D fan, I figured I'd just take the most basic d20 rules and code them. I have a lot of it in my head as I've been brainstorming some methods/functions, but actually sitting down and programming them is a whole nother beast. Especially when you don't have access to your own computer!!! *sigh*
The big thing for me is figuring out how to work with files for data. I thought I'd just plist files, but I've been unsuccessful in finding decent documentation for working with such files. Reading from them, wiriting (usually updating specific key-value pairs), etc. (Is there an etc?!) O'Reilly's Learning Cocoa with Objective-C 2nd Edition definitely leaves something to be desired in regards to file I/O and plists. I posted in the general Mac programming section about this, but I think people see my screen name and run for the hills.
ALT: Creating a text-based RPG?? - kodex - Nov 19, 2004 10:32 AM
plist and file input/output is rather simple with cocoa. The built in documentation has a lot of infomation about them. Its pretty simple to just save any data to a file. Just take an array or whatever and write it out to the disk. Look into NSFileManager you can do a google search even if you want =).
also look at:
Im not really sure what kind of data you plan on working with but that should give a little bit more background on the subject of file handling.