PROJECT PREVIEW: THE STORY OF MIGHTY MOLLY


In this chapter, you will learn how to create a Visual Basic game called the Story of Mighty Molly. In this game, the player helps to tell the story by providing answers to questions that are designed to collect specific data that is then used to complete the story. Figures 5.1 through 5.5 provide a sneak preview of the Story of Mighty Molly and demonstrate the overall execution of the game.

image from book
Figure 5.1: The Story of Mighty Molly game begins by prompting the player to click on each of six buttons that are designed to collect player input and tell the story.

image from book
Figure 5.2: Players' input is collected using the InputBox() function.

image from book
Figure 5.3: Buttons change colors to indicate that the player has already supplied their associated input.

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.

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




Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
ISBN: 1592008143
EAN: 2147483647
Year: 2006
Pages: 126

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