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)

AI with Behavior Tree and Blackboard

In the last chapter, we covered the Animation Blueprint system, which we can use to create robust systems for our characters and other animated objects. In this chapter, we will take a look at the behavior tree and blackboard systems that we can use to create complex AI for our enemies and other computer controlled characters.

In the past, creating AI with Unreal Engine involved a lot of complex code. Even when using state machines, the code was often difficult to keep organized, and even harder to debug. With Unreal Engine 4, we have an alternative in the behavior tree system, which lets us easily set up and modify AI behavior, as well as see the tree in action in real time to make debugging easier.

The following topics will be covered in this chapter:

  • Creating a simple AI
  • Behavior Trees
  • Setting up a Blackboard
  • Using sequences, selectors...