Summary
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access