In this chapter, we designed, scripted, and implemented our game's point system. This included providing frame-by-frame updates to key on-screen components of the game's HUD. Our scripts enabled the collection of cherries from cherry trees, adding the cherry-throwing capability for our Cucumber Man. We also added points based on the collection of cherries and combat hits.
In Chapter 11, Scripting Victory and Defeat, we will design and script our game's victory and defeat conditions. This will include managing the Cucumber Man's health, lives remaining, and respawning the player character.