Polish and UI


In order to make Goose Got Gun actually playable outside of the Unity editor, the last step was to add a functional user interface to access the game's different levels and weapons.

Upon starting the game, the title screen presents players with the ability to either play the game or visit the options menu.

The options menu is very minimal, only offering the options to reset the player's scores and return to the title screen.

When pressing 'play game' on the title screen, the player is taken to the gun selection menu, where they choose what gun they want to use. A return to title button is also available, in case players want to reset scores.

After choosing a gun, the level selection screen is next. In addition to the names and images of each of the levels, the high scores for each level are shown, along with a button allowing the player to return to the gun selection menu. Choosing a level on this screen takes the player directly into the game.

During the game, the UI is separated into three distinct components: the player's health, in the upper left; the player's score, in the upper right; and the timer, at the top of the screen. The timer counts down from 2:00, and when it reaches zero the game ends. The player's score is split across two lines. The first line shows the score obtained from defeating regular enemies, while the second line shows the score obtained from defeating bosses. These are tracked separately due to how boss spawning works - bosses will spawn at certain score intervals, but points obtained from defeating other bosses do not count towards these intervals. In the interest of keeping this clear to the player, I decided to show these two types of scores separately from one another.

When the timer reaches zero or the player's health is fully depleted, the game over screen is shown. On the game over screen, the player's total score for that round is shown, along with buttons allowing them to play again (try the same level again with the same gun) or return to the title screen (allowing them to change gun and level). If the player's score at the end of the game is greater than the saved high score, the text saying 'Your score:' instead reads 'New high score:', and the previous high score is overwritten with the new one.