Book Image

Blueprints Visual Scripting for Unreal Engine

By : Brenden Sewell
Book Image

Blueprints Visual Scripting for Unreal Engine

By: Brenden Sewell

Overview of this book

Blueprints Visual Scripting for Unreal Engine is a step-by-step approach to building a fully functional game, one system at a time. Starting with a basic First Person Shooter template, each chapter will extend the prototype to create an increasingly complex and robust game experience. You will progress from creating basic shooting mechanics to gradually more complex systems that will generate user interface elements and intelligent enemy behavior. Focusing on universally applicable skills, the expertise you will develop in utilizing Blueprints can translate to other types of genres. By the time you finish the book, you will have a fully functional First Person Shooter game and the skills necessary to expand on the game to develop an entertaining, memorable experience for your players. From making customizations to player movement to creating new AI and game mechanics from scratch, you will discover everything you need to know to get started with game development using Blueprints and Unreal Engine 4.
Table of Contents (15 chapters)
Blueprints Visual Scripting for Unreal Engine
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Pausing the game and resetting the save file


Now that we have the ability to track the player's progress, we should offer them the ability to reset their save file if they wish to begin the game from the start. We can accomplish this through the addition of a pause menu, which has the added benefit of allowing the player to take a temporary break in the action.

Creating a pause menu

First, we will create a pause menu that will present the player with options to resume playing the game, reset the game to round one, or to quit the application. Begin by going to the UI folder in the 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 change the Text field to Resume.

Next, we will...