Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have seen a couple topics about this already but they were a bit vague for me so I decided to make this. I'm working on a little adventure game just for fun in Qt, its basically just text on the screen and the player inputs commands into a line edit widget which I then process and do the related action/event. Thing is, I am a little confused on how to approach this. I don't want to dig myself a hole by manually coding in lots of commands and events per room because it seems to just be a pain later on. So then I thought about using some sort of database to store the information but which one should I use? I would love some advice from people who have tried something similar.

And here, these pictures are a rough outline of what I am trying to do.

Flowchart of states

Level tiles

Edit: I should add, the tiles for the level basically work like this. The light gray is a direction the player can move in, the dark gray parts are walls and the colors are various different actions you can do.

I don't particularly care for code, but I would like suggestions on what tools to use for this and maybe how to set them up right.

share|improve this question

closed as unclear what you're asking by Sean Middleditch, Josh Petrie Jan 3 at 2:18

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Edited images in for you –  Doorknob Jan 21 '13 at 0:14
    
Thank you very much –  alanbortu Jan 21 '13 at 0:16
    
What is the actual question, here? The only one you ask explicitly (buried in the middle of all the text) is "which database should I use?" Which is a 'which technology to use' question, which is off-topic here as per the FAQ. Am I missing another implicit question? –  Trevor Powell Jan 21 '13 at 21:49