LoginLogin

The best programming language for text adventures?

Root / General / [.]

ArkzenCreated:
Hello all, I just have a small question: What is the best programming language for Text-based adventure games? I've been interested in making my own text adventures for awhile, and yes i do realize that i could just make one in SmileBASIC, but i want to show more people than just the people on this site (and the others on miiverse) my game. Thanks - KingCo

SmileBASIC really, its good for text games.

SmileBASIC really, its good for text games.
I meant any programming language besides SmileBASIC, and Scratch.

There is a free program that specializes in text-adventure games called Twine that uses its own language(s) and exports the final product as HTML. The language is pretty easy to learn and is well documented. There are plenty of youtube tutorials as well. Because it exports the final project as HTML, it can be available to anyone who has access to a web browser. I recommend looking into it if you are interested in text-adventures.

There is a free program that specializes in text-adventure games called Twine that uses its own language(s) and exports the final product as HTML. The language is pretty easy to learn and is well documented. There are plenty of youtube tutorials as well. Because it exports the final project as HTML, it can be available to anyone who has access to a web browser. I recommend looking into it if you are interested in text-adventures.
Well, I'll look into it a bit further but I'm looking for something that i could share on multiple different sites. Could i share my games on multiple different sites with Twine?

It isn't stored on Twine's website if that is what you mean. Basically, you get the HTML files and can do whatever you like with them. Like, if you have your own website, you could store your games there and just share the link. Or you could upload the files to dropbox and share the dropbox link. EDIT: If you store the game on the web, you will need internet access to play... if you provide the game as a download, it can be played offline... it's HTML

It isn't stored on Twine's website if that is what you mean. Basically, you get the HTML files and can do whatever you like with them. Like, if you have your own website, you could store your games there and just share the link. Or you could upload the files to dropbox and share the dropbox link. EDIT: If you store the game on the web, you will need internet access to play... if you provide the game as a download, it can be played offline... it's HTML
Hmm... Well, I think i may look elsewhere then, because (as dumb as this may sound) I've been wanting to put one of my own games on something like GameJolt or something similar, though i do realize that i may just be able to put my games made in Twine on Gamejolt, Twine just seems more like a language to write short stories. I'm honestly not sure what I'm looking for, but i can't find it.

Understandable. It does support "macros" like if-then arguments and other programming syntax but is really just a tool for choose-your-adventure type text games.

In terms of full-on classic text adventure games where you type in commands, there is Inform 7. It has an English-based syntax, which can be a turn-off at first, but once you recognize that it's a programming language with specific syntax, not something that you can just type whatever into, and read through the manual and its numerous examples, it turns out to be very well-suited for its domain, and much more succinct than more traditional programming languages with the same purpose (e.g. TADS) when it comes to describing situations in the game world.

Inklewriter is worth a go - https://www.inklestudios.com/inklewriter/ It's the backbone of Inkle's massively successful projects (80 Days and Sorcery!)

In terms of full-on classic text adventure games where you type in commands, there is Inform 7. It has an English-based syntax, which can be a turn-off at first, but once you recognize that it's a programming language with specific syntax, not something that you can just type whatever into, and read through the manual and its numerous examples, it turns out to be very well-suited for its domain, and much more succinct than more traditional programming languages with the same purpose (e.g. TADS) when it comes to describing situations in the game world.
I 2nd the recommendation of Inform 7. It is fairly simple. just have to read and use things as needed. My friend says it's almost like not programming, when you are using it.

Inklewriter is worth a go - https://www.inklestudios.com/inklewriter/ It's the backbone of Inkle's massively successful projects (80 Days and Sorcery!)
Ok, I'll check it out soon.

http://playfic.com It's awesome