In many games, the player has a score to express their achievement and progress; Dead Keys will be no different, and we'll use a traditional scoring system. Specifically, the player will earn points for each zombie killed; we'll create the potential for assigning different scores (points) to different zombies, depending on difficulty and strength. To implement this, we'll work with UI elements and script, as we did earlier:
The score feature will essentially be a text object displaying a numerical score, representing the kill count for zombies. Most games complement a score with some animation and effects. Our score will feature two behaviors: firstly, it'll expand and contract in scale as the score changes, and secondly, the score will catch up and Linearly Interpolate (Lerp). This means that the numbers in the score...