Posted April 27, 2021 by Mikabear
The player now gets points for killing enemies. The score is visible in the pause menu and the leaderboard becomes visible in the end screen.
After dying the player also gets the option to choose a name to link to his highscore.
To finalize the game loop we made it so that the enemies attack the door at the very end of the level. The door's healthbar is below the player's in the HUD. Whenever it gets damaged a sound plays as well to notify the player. When the door and or the player loses all its health the game ends with an end screen.
Edit Attack Buttons for more Clarity.
Upgrade
We started working on the animations for the enemies: