In the last chapter, we configured our non-player character, the Cucumber Beetle, and reviewed its 11 animations. We significantly reconfigured the non-player character's animation controller. We also planned and wrote scripts to control the non-player character's in-game behaviors, which included patrolling, cucumber consumption, fighting on the ground, and fighting on hind legs. In addition, we added cucumber patches, cucumbers, and cherries to our game world.
In this chapter, we will design, develop, and incorporate a Heads-Up Display (HUD) in our game. We will use a canvas to create text and graphics that provide visual indicators of points, health, and additional information to help the player maintain situational awareness during gameplay. We will also implement a mini-map using a Unity camera.
In this chapter, we will cover the following...