I did the main menu of our team project. When you start the game, you will see the main manu on the screen.
This is the blueprint of main menu HUD. Then we will creat the main menu widget.
We set the ThirdPersonGameMode has HUD class as MainMenuHUD.
In the main menu, we have start game, option and quit game. The option will set the voice ON/OFF. We will set three buttons of main menu. Then if we press option button, the main menu will disappear and will show the option menu.
The blue print as followed
Return to main menu button is reverse from option button.
Then we set start and quit button by using default function.
And turn on, turn off voice button set as followed
Unfortunately, I haven't found how to turn off the sound yet.
and the UI of main menu like this
PS:The background download from Internet.
No comments:
Post a Comment