Game Development Patterns with Unreal Engine 5: Build maintainable and scalable systems with C++ and Blueprint

Butler, Stuart, Oliver, Tom

  • 出版商: Packt Publishing
  • 出版日期: 2024-01-05
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 254
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803243252
  • ISBN-13: 9781803243252
  • 相關分類: C++ 程式語言JVM 語言Unreal
  • 下單後立即進貨 (約3~4週)

商品描述

Improve your game's code to make it more readable, reusable, modular, and optimized, guided by design patterns to enhance your overall use of C++ with Unreal Engine

Key Features
  • Explore the fascinating world of design patterns and their applications in Unreal Engine 5 game development
  • Learn how to translate code from Blueprint to C++ to implement performant solutions in game development
  • Discover best practices for writing clean code and applying it to Unreal Engine 5 and C++
  • 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 of this book, 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
  1. Understanding Unreal Engine 5 and it's layers
  2. "Hello Patterns"
  3. UE5 patterns in action: Double Buffer, Flyweight and Spatial Partitioning
  4. Premade Patterns in UE5: Component, Behaviour Tree and Update Method
  5. Forgetting Tick
  6. Clean communication: Interface and Event Observer patterns
  7. A perfectly decoupled system
  8. Building Design Patterns: Singleton, Command and State
  9. Structuring Code with Behavioural Patterns: Template, Subclass Sandbox and Type Object
  10. Optimisation Through Patterns

商品描述(中文翻譯)

提升您的遊戲程式碼,使其更易讀、可重複使用、模組化和優化,並以設計模式引導您在 Unreal Engine 中使用 C++ 的整體能力。

主要特點:
- 探索設計模式在 Unreal Engine 5 遊戲開發中的應用
- 學習如何將藍圖轉換為 C++,以實現高效的遊戲開發解決方案
- 發現撰寫乾淨程式碼的最佳實踐,並應用於 Unreal Engine 5 和 C++
- 購買印刷版或 Kindle 版本的書籍將包含免費的 PDF 電子書

書籍描述:
設計模式是一組技術和實踐工具,使您能夠撰寫不僅更快,而且更易管理的程式碼。通過本書,您將探索各種設計模式,並學習如何應用它們於 Unreal Engine 5 項目中。

您將首先深入研究編碼的基本原則,並對在程式碼中使用模式的概念、挑戰和好處有著牢固的理解。隨著學習的進展,您將識別出編織在 Unreal Engine 5 核心中的模式,例如雙緩衝、享元和空間劃分,以及一些現有工具集,包括組件、行為樹和更新,它們在設計和使用中體現了模式。

在書籍的下一部分中,您將開始使用 C++ 開發一系列遊戲場景,以實現各種設計模式,例如介面和基於事件的觀察者,以建立一個解耦的通訊層次結構。您還將使用 Singleton、Command 和 State,以及行為模式、模板、子類別沙盒和類型物件。最後一部分專注於使用設計模式進行優化,包括 Dirty Flag、資料局部性和物件池。

通過閱讀本書,您將能夠熟練地設計具有完美的 C++/藍圖結合的系統,以實現可維護和可擴展的系統。

您將學到:
- 掌握設計模式的本質和其固有的用途
- 瞭解 Unreal Engine 5 中的各個層次及其協同工作方式
- 識別 C++ 程式碼與藍圖在 Unreal Engine 5 中的關係
- 辨識現有 Unreal Engine 5 函數中的設計模式
- 探索設計模式,瞭解其在 Unreal Engine 5 中的目的和應用
- 創造性地應用設計模式於現有程式碼,克服常見挑戰

本書適合對 Unreal Engine 進行 C++ 編碼實踐有興趣的初學者或中級遊戲開發人員,幫助您通過應用設計模式來產生乾淨、可重複使用的程式碼。

儘管本書將涵蓋入門任務以展示 Unreal Engine 5 的基礎知識,但其主要目的並非從頭開始教授 Unreal Engine。對 Unreal Engine 的先前經驗將有所裨益,但如果您的知識不夠深入,也不必擔心;本書將根據需要介紹工具和功能。

目錄:
1. 瞭解 Unreal Engine 5 及其層次
2. 「設計模式你好」
3. UE5 中的模式實踐:雙緩衝、享元和空間劃分
4. UE5 中的預製模式:組件、行為樹和更新方法
5. 忘記 Tick
6. 清晰的通訊:介面和事件觀察者模式
7. 完美解耦的系統
8. 使用設計模式構建:Singleton、Command 和 State
9. 使用行為模式結構化程式碼:模板、子類別沙盒和類型物件
10. 通過模式進行優化

類似商品