Chapter 10. User Interface

In this chapter, we'll cover the following recipes:

  • Create a Health/Damage system, part 2 – creating a healthbar
  • Dynamic enemy healthbars
  • Creating a main menu
  • Animating a menu

Introduction

In order to create a good game project, you need to be able to communicate information to the player. To do this, we need to create a user interface (UI), which will allow us to display information such as the player's health, inventory, and others.

Inside Unreal 4, we use the Slate UI framework to create user interfaces, however, it's a very complex system. To make things easier for end users, Unreal also released the Unreal Motion Graphics (UMG) UI Designer, which is a visual UI authoring tool with a much easier workflow. This is what ...

Get Unreal Engine: Game Development from A to Z now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.