This was a fun section - Unity’s Animation system had me scratching my head, but now I think I"m getting the hang of it!
List of changes:
- Spawn the Lizard at a random spot on the game screen to be able to see the appearing animation
- Pause the game music before playing the “Scene Completed” sound
- Added a “Dieing” animation that handles the destruction of the game object after playing a nifty little animation
- Added a “HealthBar” to be able to visually detect the health of Attackers/Defenders
Some more tweaks need to be made - cactus launching 2 projectiles when spawning in attack state), an extra axe lying around on the first scene, and need to use the “Game Difficulty” slider to adjust the rate attackers spawn.