Summary
In this chapter, we enhanced player experience by adding a HUD that tracks the player's interaction with the environment. In doing so, you developed another conduit through which you can communicate information to the player of your game. By now, we have the skeletal structure of a first-person shooter, including guns that shoot, targets that explode, and a UI that exposes the state of the world to the player. We have already come a long way from the initial test scene, which featured minimal player interaction.
In the next chapter, we will begin transitioning from building the foundation of our game structure to constructing the design of our game. The core of any game is made up of the rules that the player must follow in order to create a fun experience. While the game in its current form features some basic rules that define how the targets react on being shot, the overall experience lacks a goal for the player to achieve. We will be rectifying this by establishing a win...