Learn the secret of popular design patterns while building fun, efficient games in Unity 2023 and C#
Regular price
£28.00
Sale price
£28.00
Regular price
£28.00
Unit price
/ per
Tax included.
Struggling to write maintainable and clean code for your Unity games? Look no further! Learning Design Patterns with Unity empowers you to harness the fullest potential of popular design patterns while building exciting Unity projects. Through hands-on game development, you'll master creational patterns like Prototype to efficiently spawn enemies and delve into behavioral patterns like Observer to create reactive game mechanics. As you progress, you'll also identify the negative impacts of bad architectural decisions and understand how to overcome them with simple but effective practices.
By the end of this Unity 2023 book, the way you develop Unity games will change. You'll emerge not just as a more skilled Unity developer, but as a well-rounded software engineer equipped with industry-leading design patterns.
Format: eBook
ISBN: 9781805124160
Length: 676 pages
Edition: 1
Published: May 31, 2024
Author: Harrison Ferrone
Preface
Priming the System
Managing Access with the Singleton Pattern
Spawning Enemies with the Prototype Pattern
Creating Items with the Factory Method Pattern
Building a Crafting System with the Abstract Factory Pattern
Assembling Support Characters with the Builder Pattern
Managing Performance and Memory with Object Pooling
Binding Actions with the Command Pattern
Decoupling Systems with the Observer Pattern
Controlling Behavior with the State Pattern
Adding Features with the Visitor Pattern
Swapping Algorithms with the Strategy Pattern
Making Monsters with the Type Object Pattern
Taking Data Snapshots with the Memento Pattern
Dynamic Upgrades with the Decorator Pattern
Converting Incompatible Classes with the Adapter Pattern
Simplifying Subsystems with the Façade Pattern
Generating Terrains with the Flyweight Pattern
Global Access with the Service Locator Pattern
The Road Ahead
Other Books You May Enjoy
Index
Apply Unity-specific design patterns to build better games.
Key Benefits
Craft engaging Unity 2023 games while mastering design patterns like Singleton, Object Pool, and more
Write clean, reusable C# code using creational, behavioral, and structural patterns, tailored for the game development environment
Go beyond basic design pattern usage and learn to customize and extend them for your unique game design needs
What You'll Learn
Implement a persistent game manager using the Singleton pattern
Spawn projectiles efficiently with Object Pooling for optimized performance
Build a flexible crafting system using the Factory Method pattern
Design an undo/redo system for player movement with the Command pattern
Implement a state machine to control a two-person battle system
Modify existing character objects with special abilities using the Decorator pattern
Audience
This book is your perfect companion if you're a Unity game developer looking to level up your C# skills and embrace industry standards for building robust games. Knowledge of Unity and basic C# programming is recommended.
recommended
Related Titles
Based on your interests, we’ve picked a few things we think you’ll love.
FAQs
On completion of order you'll receive an option to download the eBook in PDF or EPUB