Book description
Improve your game's code with design patterns to make it more readable, reusable, modular, and optimized, guided by an Unreal Authorized Instructor to enhance your overall use of C++ with Unreal Engine
Key Features
- Explore programming patterns, structures, and principles and their applications in Unreal Engine 5 game development
- Translate code from Blueprint to C++ to implement performant solutions in game development
- Build a decoupled communications hierarchy and become a better game developer
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
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.
What you will learn
- Grasp the essence of design patterns and their inherent utility
- Understand the layers within UE 5 and how they work together
- Identify the relationship between C++ code and Blueprint in Unreal Engine 5
- Recognize the design patterns found within existing Unreal Engine 5 functions
- Explore design patterns to understand their purpose and application within Unreal Engine 5
- Creatively apply design patterns to existing code to overcome common challenges
Who this book is for
If you are a beginner or intermediate game developer working with Unreal Engine and looking to improve your C++ coding practices, this book is tailor-made to help you produce clean, reusable code through the application of design patterns. While this book will cover introductory tasks to show the fundamentals of Unreal Engine 5, its primary purpose is not to teach Unreal Engine from scratch. Prior experience with Unreal Engine will be beneficial, but don’t fret if your knowledge isn’t in-depth; the book will introduce tools and features as needed.
Table of contents
- Game Development Patterns with Unreal Engine 5
- Foreword
- Contributors
- About the authors
- About the reviewer
-
Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Conventions used
- Get in touch
- Share Your Thoughts
- Once you’ve read Game Development Patterns with Unreal Engine 5, we’d love to hear your thoughts! Please click here to go straight to the Amazon review page for this book and share your feedback.
- Download a free PDF copy of this book
- Part 1:Learning from Unreal Engine 5
- Chapter 1: Understanding Unreal Engine 5 and its Layers
- Chapter 2: “Hello Patterns”
- Chapter 3: UE5 Patterns in Action – Double Buffer, Flyweight, and Spatial Partitioning
- Chapter 4: Premade Patterns in UE5 – Component, Update Method, and Behavior Tree
- Part 2: Anonymous Modular Design
- Chapter 5: Forgetting Tick
- Chapter 6: Clean Communication – Interface and Event Observer Patterns
- Chapter 7: A Perfectly Decoupled System
- Part 3: Building on Top of Unreal
- Chapter 8: Building Design Patterns – Singleton, Command, and State
- Chapter 9: Structuring Code with Behavioral Patterns – Template, Subclass Sandbox, and Type Object
- Chapter 10: Optimization through Patterns
- Index
- Other Books You May Enjoy
Product information
- Title: Game Development Patterns with Unreal Engine 5
- Author(s):
- Release date: January 2024
- Publisher(s): Packt Publishing
- ISBN: 9781803243252
You might also like
book
Multiplayer Game Development with Unreal Engine 5
Discover Unreal Engine 5's networking techniques, to create your own scalable and fully functional multiplayer game …
book
Unreal Engine 5 Game Development with C++ Scripting
Expand your UE5 game development skills by leveraging C++ scripting and improve your game development abilities …
video
Unreal Engine 5 - Blueprints Game Developer Masterclass
Unreal Engine 5 is a powerful and widely used game development engine that allows developers to …
book
Game Development with Blender and Godot
Understand how to use one of the most popular 3D modeling software and advanced game engines …