Archived

This topic is now archived and is closed to further replies.

fencingone

Text adventure

Recommended Posts

fencingone    122
I had a question about text adventures in MS VC++ MFC Win32. I wanted the text adventure in an edit box were you can enter your commands and view the world (the same edit box). The reason I want to use MFC is I wanted to add a bit map to the background. I have my code written (from Gametutorials.com) but I don''t know how to make it execute in an edit box (I don''t even know if you can do that). So my two questions are: 1.) How do you make a text adventure in an edit box 2.) How can you change the background / add a picture / bitmap in an MFC application Thank you! veni vidi vici "Be excellent to Each other" Bill and Ted

Share this post


Link to post
Share on other sites
Maega    707
You''ll have to reroute your output to the edit box (using m_controlname.SetText("Text") I believe).

As far as the background.. check codeguru or codeproject

Share this post


Link to post
Share on other sites