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)

Adding widgets to other widgets

Sometimes, our menus and HUDs will become complex. Settings menus, player inventories, and map screens can all have complex designs and layouts. When our widgets reach this point, the Designer window can become overly complicated, and the Blueprint window even more so as it tries to keep things organized.

Fortunately, not everything that our widgets use needs to be pieced together from individual buttons, images, and text. If we need to, we can make a smaller widget (such as a chat box, for instance) and add that entire widget to another one (such as our HUD, by pressing T to bring up the chat box).

Let's take a look at how to do this in Awesome Game. For this example, we're going to set up a list of our pickup spheres and display them on the HUD.

First, let's change how the Pickup class works.

...