Description:
We need an actual end in our game.
Add game over screen when the player meets death.
Also, add GameManager which controls the states of our game.
Attributes:
- Game Over Screen
When the Player's HP becomes zero, the player dies and displays the game-over screen. We don't have a scoring system yet, so display the GameOver text and Replay / Title / Exit button.
-GameManager
We have four states in our game. Title / Pause / Playing / Result (GameOver).
GameManager should control the transitions between those states smoothly and manage the CURRENT status of player, enemy and etc.
Optional:
Description:
We need an actual end in our game.
Add game over screen when the player meets death.
Also, add GameManager which controls the states of our game.
Attributes:
When the Player's HP becomes zero, the player dies and displays the game-over screen. We don't have a scoring system yet, so display the GameOver text and Replay / Title / Exit button.
-GameManager
We have four states in our game. Title / Pause / Playing / Result (GameOver).
GameManager should control the transitions between those states smoothly and manage the CURRENT status of player, enemy and etc.
Optional: