Testing the Game
You've finally arrived at the most fun step in the construction of a game: testing! Testing the Battle Office game is quite interesting because a fair amount of things are going on in the game. Figure 16.2 shows the game at the start, with one guy jumping from behind his desk to give you a quick scare. Notice that your bull's-eye target is near the guy ready for you to click and fire at him.
Figure 16.2 The Battle Office game gets started quickly with a guy jumping from behind an office desk.
Clicking the mouse with the target over the guy results in a hit, which causes the pow sprite to be displayed on the screen, as shown in Figure 16.3.
Figure 16.3 The pow sprite is displayed whenever you score a hit.
It won't take long for one of the moving guys to appear in the hallway near the top of the game screen. These guys are a little tougher to hit because they are moving, but it's still not too hard. Of course, the game doesn't really get tough until all the guys start appearing at the same time. Figure 16.4 shows an example of how the guys can start getting overwhelming.
Figure 16.4 As the game progresses, the guys will start overwhelming you, which makes it harder to hit them all.
Once five guys get away, the game ends. Figure 16.5 shows the end of the game, which involves displaying the game over image on the screen on top of the other game graphics.
Figure 16.5 When five guys get away, the game ends and the game over image is displayed.
I really don't encourage you to think of office co-workers as targets, but hopefully you can see the humor in the Battle Office game. If not, at least you can appreciate the game development techniques that went into making the game a reality.