Game Development Reference
In-Depth Information
project can also be executed by pressing F5. For example, right-click on the Balloon2
project and set it as the startup project, then press F5. You should see a window in
which the mouse pointer has a balloon attached to it.
In that same solution, you can also find the Painter1 program, which is the first
version of a game that we will develop in this topic as an example: the Painter game.
If you open the solution belonging to Chap. 11 , you can see that it contains the
project Painter10 , which is the final version of that game. If you press F5, you can
play the game. The goal of the Painter game is to make sure that the paint cans falling
down from the top of the screen are in the right color (red, green, or blue) before they
fall through the bottom of the screen. You can shoot at the paint cans using the paint
cannon in the lower left corner of the screen, and the color to shoot with changes
by pressing the R (
blue) keys. Aiming and shooting is
done by moving the mouse and pressing the left mouse button. Figure 1.7 shows a
screenshot of this game.
=
red), G (
=
green) or B (
=
1.7 What You Have Learned
In this chapter, you have learned:
how to install the Visual Studio development environment;
how to create a new game project, and how to compile and run it.
Search WWH ::




Custom Search