Applying UI
This week I wanted to focus on game UI; I started with the main game screen when you launch the game. As of right now, this consisted of a play and exit button with a background image.
Whilst the player is on the pause menu, it will unlock the mouse from the centre of the screen, allowing the player to freely select the options. Additionally, when the player moves the mouse, this will not turn the camera in game. If the player clicks resume then the game will continue as before, and lock/hide the cursor back to the centre of the screen.
If the player manages to find all three keys and escape the map then the level will be complete and the win screen will appear. This screen will update the score depending on how many zombies the player has killed.
However, if the player should die to enemies then the game will be over and will show the game over screen and the player can choose to restart the level or go back to the main menu.
Comments
Post a Comment