How do i make a text based rpg
BlitzPlus Forums/BlitzPlus Tutorials/How do i make a text based rpg
| ||
i want to make one in blitzplus, but not sure how |
| ||
2D? |
| ||
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. |
| ||
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... |