PROJECT PREVIEW: THE STORY OF MIGHTY MOLLY


In this chapter, you learn how to create a Visual C++ game called The Story of Mighty Molly. In this game, the player helps to tell the story by providing answers to questions. The questions are intended to collect specific information that is then used to fill in the story. This type of game is known as a madlib. Figures 5.1 through 5.5 provide a sneak preview of The Story of Mighty Molly and demonstrate the overall execution of the game.

By the time you have created this project, you'll have learned how to declare variables and how to specify their data type and scope. In addition, you will have learned how to work with conversion functions and String constants.

image from book
Figure 5-1: The Story of Mighty Molly game begins by presenting the player with five questions and then allowing him to tell the story by clicking a button.

image from book
Figure 5.2: An introduction tells the story of Mighty Molly.

image from book
Figure 5.3: The game issues an error if all text is not filled in.

image from book
Figure 5.4: A progress bar located on the status bar indicates when all required information has been collected.

image from book
Figure 5.5: Data input collected from the player is then plugged into the story line and displayed for the player to enjoy.




Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
ISBN: 735615381
EAN: N/A
Year: 2005
Pages: 131

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net