Game over screen - UQdeco2800/2021-ext-studio-2 GitHub Wiki
Design style of the Game-over-screen
There are four main contents:
- Display “Game over” as text;
- Display user's score;
- "Main menu" button;
- "Click to play again" button.
"Main menu" button
- Design style
- Feature description
When the user clicks the "Main menu" button, the Screen will jump to the main-Menu-screen.
"Click to play again" button
- Design style
- Feature description
When the user clicks the "Click to play again" button, the system initializes the previous game data and jumps to the Main Game Screen, where the user can restart the game.
Trigger Game over screen
After the game starts, if the player's health drops to 0, the screen will jump from Main Game Screen to Game Over Screen.