A game must provide information to its players. It has to offer statistics for the main characters and for the enemies. This information is vital for informing the players' decisions. On the one hand, if the player has three remaining lives, he can take risks. On the other hand, if he has just one remaining life, he cannot. Therefore, we have to use great designs for the gauges that show information to the player. At the same time, the information must be accurate because the player is going to take important decisions using it.
In this chapter we will add statistics and scoring to the game. By reading it and following the exercises we will learn to:
Use special fonts to display information
Learn to create different kinds of gauges to display information
Work with multiple gauges in 3D scenes
Learn to encapsulate complex gauges using classes
Update multiple gauges in a game
Control the layout for the gauges