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)

The client–server model

Unreal Engine 4 works on what's called the client-server model, where the server is the ultimate authority. This means that the server controls the state of the game and gives any relevant information to each connected client. If you've ever experienced lag where you seem to teleport, this is you as the client predicting where you are, and the server saying no, you're over here.

The client-server model works well when it minimizes the amount of information being transmitted over the network, so optimization of your network code is important. Luckily for us, the Unreal Engine has many built-in tools and functionality to help us with that.

Let's see how this can help us with Awesome Game.

Testing a listen server