No HUD, Audio, Main Menu, Pause Menu, Options
The Problem
The game had no main menu, no in game options, no pause menu and no player hud. Without having a main menu the game immediately began to run and place the character into the level. Without the options menu the audio was unable to be controlled. Without the pause menu there was no way to exit the game other than using ctr alt del and ending the game with task manager. When the game started the player fell through the map.
Problem Solution
I made the main menu widget and coded the main menu so the player can choose when to enter the game. I gave the player three choices in the main menu which are play game which loads the first level, options which opens the options menu, and quit which exits the software. I then worked on the pause menu and got the pause menu to show up on screen and I put three options on it as well. In the pause menu the player can resume the game which picks up right where they are, options which opens the options on screen, and quit to main menu which exits the game to the main menu.
Now moving to the options I have setup several items that can be controlled by the player. First is the volume which is linked directly to the master volume which adjusts the total game volume. The following options are included but do not work yet they are window mode, resolution, graphics, and vsync. When you select apply at the bottom of the options it saves the information to the game.ini file so that the data will be persistent and every time you hit the play button the settings are loaded.
The player had no hud so I made a very basic hud for now that I can build on that has a set of crosshairs in the middle and a health bar on the top. The last thing that I have made adjustments to so far this week is that when the game loaded the player fell through the map immediately. This issue was due to the player not having a starting position to fix this I made a player start position in the world.
Get Contagion
Contagion
A horror shooter by Good Start
Status | In development |
Authors | Good Start, Casey Muxlow |
Genre | Shooter |
Tags | Horror |
More posts
- Player Weapon and animations2 days ago
- The Beginning10 days ago
Leave a comment
Log in with itch.io to leave a comment.