Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Game Development Patterns with Unreal Engine 5
  • Table Of Contents Toc
Game Development Patterns with Unreal Engine 5

Game Development Patterns with Unreal Engine 5

By : Stuart Butler, Tom Oliver
4.2 (21)
close
close
Game Development Patterns with Unreal Engine 5

Game Development Patterns with Unreal Engine 5

4.2 (21)
By: Stuart Butler, Tom Oliver

Overview of this book

Design patterns serve as a toolkit of techniques and practices that enable you to write code that’s not only faster, but also more manageable. With this book, you’ll explore a range of design patterns and learn how to apply them to projects developed in Unreal Engine 5. You’ll begin by delving into the foundational principles of coding and develop a solid understanding of the concepts, challenges, and benefits of using patterns in your code. As you progress, you’ll identify patterns that are woven into the core of Unreal Engine 5 such as Double Buffer, Flyweight, and Spatial Partitioning, followed by some of the existing tool sets that embody patterns in their design and usage including Component, Behavior Tree, and Update. In the next section of the book, you’ll start developing a series of gameplay use cases in C++ to implement a variety of design patterns such as Interface and Event-based Observers to build a decoupled communications hierarchy. You’ll also work with Singleton, Command, and State, along with Behavioral Patterns, Template, Subclass Sandbox, and Type Object. The final section focuses on using design patterns for optimization, covering Dirty Flag, Data Locality, and Object Pooling. By the end, you’ll be proficient in designing systems with the perfect C++/Blueprint blend for maintainable and scalable systems.
Table of Contents (16 chapters)
close
close
1
Part 1:Learning from Unreal Engine 5
6
Part 2: Anonymous Modular Design
10
Part 3: Building on Top of Unreal

S.O.L.I.D. principles

To understand why design patterns work, we need to understand the principles that underpin good code. Let’s run a whistle-stop tour through most people’s first experience with code.

The universal Hello World program and the beginner exercises that follow are all made up of linear code. Linear code executes each line sequentially through a single file in which the whole program is written. Loops, selections, and statements make up literally everything.

As each program gets larger, the code becomes unsustainable. The solution is object orientation. Object-oriented programming (OOP) adds a lot, primarily classes and objects, as the name would suggest. With OOP’s added complexity, it becomes quite easy to accidentally build in fundamental issues with systems that make it impossible to expand them. Having a set of rules to follow greatly simplifies the process of building code that works for you and the next person to maintain it. These rules...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Game Development Patterns with Unreal Engine 5
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon