Text adventure game GUI

This is a discussion on Text adventure game GUI within the Game Programming forums, part of the General Programming Boards category; Since there has been a rash of recent questions about text games I decided to cook up a little framework ...

Text adventure game GUI

Since there has been a rash of recent questions about text games I decided to cook up a little framework in MFC that will greatly aid in the presentation of the game. Since presentation is really not about the game this can let you concentrate on the game and story rather than the nitty gritty of displaying information.

It is currently setup as an MFC SDI doc/view application with a splitter window. The top pane is controlled by the RespView class and the bottom view is controlled by the ParserView class.

I'll provide basic text functions and some other utility functions but the parser code and display code will be up to the programmer.

Here is a screenshot illustrating the two views.

If anyone is interested in using this you must at the bare minimum have the standard edition of MSVC 2005. This will not work with Express. Please let me know if you are interested in using this and I will explain more about how to use this framework. It's actually quite simple.

Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

P.S. I like spending a whole day implementing a stateful menu, because when its said and done my menu runs 10 times faster than yours, and performance is important, development time is (mostly) not.

Good luck getting a job with that sort of outlook on things. Actually, you might -- at some crappy code house with huge turnover where priorities are set by smoking a lot of cannabis and praying to the oracle. And you certainly won't find ME working there.

If industry is not your bag, then write code however you feel like it. Just giving a piece of advice.