ALT: Creating a text-based RPG??

endkiller
Unregistered
 
Post: #1
Hello everyone!

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).
Quote this message in a reply
Hog
Member
Posts: 151
Joined: 2002.09
Post: #2
endkiller Wrote:...text-based RPG... graphics (maps, pictures, background, buttons...)...(Knowing that it is for PC).

do you think that coherence is important?
Quote this message in a reply
Sage
Posts: 1,066
Joined: 2004.07
Post: #3
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.
Quote this message in a reply
Member
Posts: 338
Joined: 2004.07
Post: #4
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.

Justin Ficarrotta
http://www.justinfic.com
"It is better to be The Man than to work for The Man." - Alexander Seropian
Quote this message in a reply
Sage
Posts: 1,482
Joined: 2002.09
Post: #5
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...)

Programming Ruby.
Quote this message in a reply
endkiller
Unregistered
 
Post: #6
thanks guys!!!
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.
Thanks again!

I will let you know how it goes. I hope I will have the chance to present our finished work.
Quote this message in a reply
Moderator
Posts: 700
Joined: 2002.04
Post: #7
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.

Mark Bishop
--
Student and freelance OS X & iOS developer
Quote this message in a reply
Member
Posts: 39
Joined: 2002.04
Post: #8
A slightly odd way you could do it (if your aiming for a text adventure / Myst like game) is to use webpages - doing the visual layout and media (movies and sound) rendering with html (and css), the game logic (input handling) with javascript and storering game state (save data) in the link (to bookmark = save game).
Quote this message in a reply
Oldtimer
Posts: 834
Joined: 2002.09
Post: #9
Hm, Hokan... that's actually a very cool idea...
Quote this message in a reply
Oldtimer
Posts: 834
Joined: 2002.09
Post: #10
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!
Quote this message in a reply
Moderator
Posts: 113
Joined: 2002.06
Post: #11
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.

ProRattaFactor
(Retro-infused games for iPad, iPhone, iPod touch, and Mac)
Quote this message in a reply
Bladedancer7
Unregistered
 
Post: #12
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!!!!!!!!!!!!
Quote this message in a reply
Moderator
Posts: 700
Joined: 2002.04
Post: #13
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...

Mark Bishop
--
Student and freelance OS X & iOS developer
Quote this message in a reply
WaaMatt
Unregistered
 
Post: #14
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.
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #15
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:

writeToFile:atomically:
valueForKey:

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.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Text based RPG in Python pipposanta 7 8,453 Feb 27, 2008 09:10 AM
Last Post: pipposanta
  I Need Help Creating A Text Based MMORPG (aka MUD) GoldenLegacy 5 4,633 Dec 10, 2007 01:57 PM
Last Post: AndyKorth
  How to upload scripts for text based game? Gdollaz87 5 4,028 Aug 1, 2007 10:31 PM
Last Post: Gdollaz87
  Text based RPG Smush 25 10,468 Mar 8, 2007 09:33 AM
Last Post: Smush
  Java/C++ Sever-side RPG Text Based.. darkdescendent 1 2,417 Oct 27, 2006 07:47 AM
Last Post: BeyondCloister