Creating a pause menu
First, we will create a pause menu that will present the player with options to resume playing the game, to reset the game to round one, or to quit the application. Begin by going to the UI folder in Content Browser. Right-click on LoseMenu and select the Duplicate option. Rename this new Blueprint Widget to PauseMenu and open it.
Select the text displaying You Lose. Try Again? and, in the Details panel, change the Text field to say Paused…. Change the text color to a color you feel is appropriate for a pause message. Now, select the Restart button's text object, and then change the Text field to Resume.
Next, we will add a third button to allow the player to reset the save file. From the Palette panel, drag down a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access