PROJECT PREVIEW: THE VC DOODLE GAME


PROJECT PREVIEW: THE VC++ DOODLE GAME

In this chapter, you gain knowledge of Visual C++ graphics capabilities by developing the VC++ Doodle game. VC++ Doodle is a drawing program that allows players to create freehand images and draw a number of shapes, such as circles, lines, and rectangles. Figures 10.1 to 10.4 show examples from the VC++ Doodle game, demonstrating its overall program flow.

image from book
Figure 10.1: The user interface for the VC++ Doodle game consists of a control panel and a drawing area.

image from book
Figure 10.2: VC++ Doodle gives the player a range of colors to choose from.

image from book
Figure 10.3: The game assists the player in drawing an assortment of predefined shapes.

image from book
Figure 10.4: The player also has the option of making a freehand drawing using any combination of colors.

After you have completed the VC++ Doodle game, you will have acquired a basic understanding of Visual C++'s built-in graphics drawing capabilities. This will serve as a good foundation to move on to more advanced graphics topics in the future.




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