Book Image

Unreal Engine 4 Game Development Quick Start Guide

By : Rachel Cordone
Book Image

Unreal Engine 4 Game Development Quick Start Guide

By: Rachel Cordone

Overview of this book

Unreal Engine is a popular game engine used by developers for building high-end 2D and 3D games. This book is a practical guide designed to help you get started with Unreal Engine 4 and confidently develop interactive games. You’ll begin with a quick introduction to the Unreal Engine 4 (UE4) ecosystem. Next, you’ll learn how to create Blueprints and C++ code to define your game's functionality. As you progress, you’ll cover the core systems of UE4 such as Unreal Motion Graphics (UMG), Animation Blueprints, and behaviour trees to further build on your game development knowledge. The concluding chapters will then help you learn how to use replication to create multiplayer games. By the end of this book, you will be well-versed with UE4 and have developed the skills you need to use the framework for developing and deploying robust and intuitive games.
Table of Contents (10 chapters)

Setting up an interactive menu

Since HUDs are not meant to be interactive, we will need a Widget Blueprint that we can interact with to try out some of the widget types and widget interactions, such as button presses and text input boxes. A main menu for our Awesome Game is perfect for this, so let's create one by going through the following steps:

  1. We will need a separate level to act as the main menu. At the top of the main editor window, navigate to File | New Level.
  2. Select Default for the new level. If the editor asks you to save anything, make sure you do so.
  3. Once the new level is created, go into the World Settings tab on the right-hand side of the editor and, under the Game Mode category, set GameMode Override to GameMode. This class uses a DefaultPawn class for our player; this acts more like a spectator camera, which is suitable for our main menu.
  4. In the ThirdPersonBP...