New screens - UQcsse3200/2024-studio-1 GitHub Wiki
Screens
The following screens have been added to the game navigation (all extensions of StaticScreen
):
(Note that the images of the happy and dead player are taken from the player team's assets (see the citation file).
Death screen
One second after the player's death animation finishes, the death screen will pop up with an image of a dead player and a button to return to the main menu. The screen background is set to black to fit the mood of the player dying.
Win screen
The functionality of winning the game hasn't been implemented yet. However, you can use the screen <screen-name>
command in the in-game terminal to navigate to the win screen for testing. The win screen has a yellow background (associated with happiness), an image of a happy player and a "You win!" label.
Player selection
All the available players to choose from (player information taken from the player.json
files) are added in a table here.
Each available player has:
- An image of the player in the
"idle"
state - A button to select that player that will include their name (taken from the
name
attribute of the.json
file).
Cutscene
The cutscene is currently very simple - a black background with white text, giving the feeling that the player is entering an underground bunker. More advanced cutscene features such as animations may be implemented in the future.
Screen diagram
The following diagram shows how the game flows between different screens like a state machine: