Forums → Programming Forum → Text based adventure?
- 7 Replies
Hey, ive been playing some real old fashioned games called text based adventures. If you dont know what they are, heres a link to a lot. http://en.wikipedia.org/wiki/List_of_text-based_computer_games I know u can do it in notebook like with the word echo and stuff but what programs do u need and how is it done? thanks.
You don't need any program to make a game like that you could just download python and just strictly make it like that. If you want to upload it to the net you would want to use Flash/Java/HTML(static),HTML5 (dynamic using canvas for fancy stuff) or whatever else you know how to use.
Each language uses echo different and some don't use it at all. You mostly use echo as output while testing not for a dynamic text area.
For flash and as3 you would create a dynamic textbox and either clear the text for new text or use appendText() method to add to the text area.
I always love building the word parser for text based adventures. My final project for my very first programming class was a text-based Monty Python adventure.
You should be able to use alert() and prompt() to create something, however, it doesn't look professional.
i think the simplest way to make a text-based adventure game is to learn java or python or c++. the commandprompt shows your text.
in c++ is cout << the output and cin >> the input.
cout << "What\\'s your name?" << endl;
cin >> name;
cout << endl << "Welcome" << name;
C++ is definitely not the best choice for something as simple as a textbased game, unless it's the only language you know well. All you need is an understanding of input, printing strings dynamically, randomization and conditional structures.
C++ is definitely not the best choice for something as simple as a textbased game
You must be logged in to post a reply!
We strive to deliver the best gaming experiences on the internet and on your mobile phone. Play thousands of free online games, get access to free mmorpg games, online rpg games, fun online flash games, and more.
We offer free flash games in many different genres: online shooting games, online puzzle games, online war games, free online car games, free online hidden object games and dozens more.
This is the best place on the web to play online games for free! No matter what game style you prefer, we've got it here.
Want to advertise on Armor Games? Send us a note!
Gaming websites, passionate bloggers, and quirky streamers are welcome to share or review our games. If you need game keys, art, trailers, screenshots or more check out our press kit website.
Game developer? Visit developers.armorgames.com to request AG developer status, find documentation on our APIs, and get access to our development environment. Let's make sweet, sweet games together.
Looking for a publishing partner that can help your app rocket to success? Contact the mobile team to learn more about how we can help!