How do i make a text based rpg

BlitzPlus Forums/BlitzPlus Tutorials/How do i make a text based rpg

stenroh1(Posted 2012) [#1]
i want to make one in blitzplus, but not sure how


Yue(Posted 2012) [#2]
2D?


andy_mc(Posted 2012) [#3]
You need to make a text parser, which can read user input text and act on it. So if your game requires something like: <verb> <adjective> <noun> then you write your code to handle that.

Try giving us some examples of text based RPG's that you are trying to emulate the style of and you'll get better responses.


Imperium(Posted 2013) [#4]
I wrote a simple one in my C++ class without a text parser by using lots of "if statements" and "booleans". Not the best way to do it but it works for a small prototype. You can also use an array to store what room the player is in and what items are in it, etc...