In this chapter, we focused on the Cucumber Beetles, our game's non-player characters. We reviewed the beetles' 11 animations and made changes to the non-player characters' animation controller. In addition, we wrote scripts to control the non-player characters. Our scripts resulted in several beetle behaviors: patrolling, cucumber consumption, fighting on the ground, and, when hit by a cherry, standing, running, and attacking on hind legs. We also added cucumber patches, cucumbers, and cherries to our game world.
In Chapter 9, Adding a Heads-Up Display, we will design, develop, and incorporate a Heads-Up Display (HUD) in our game. We will create text and graphics that provide visual indicators of points, health, and additional information to help the player maintain situational awareness during gameplay.