Write maintainable, fault-tolerant, and cleaner game codes by understanding the standard development patterns and battle-tested practices.

Key Features

  • Gain expertise in Industry Standard desi...

Buy Now From Amazon

Write maintainable, fault-tolerant, and cleaner game codes by understanding the standard development patterns and battle-tested practices.

Key Features

  • Gain expertise in Industry Standard design patterns.
  • Get your hands on popular patterns such as Observer, Singleton, State, and Factory.
  • Leverage the power of C# coding to create solid architectures for your game projects.

Book Description

Traditional building blocks of a robust architecture, such as design patterns, cannot be applied in Unity without being adapted to the Engine's unique way of doing things. We will review design patterns that are currently used by professional game programmers in indie, mobile, and AAA studios. We will also examine the infamous anti-patterns.

The book begins by explaining Unity Engine's architecture and shows you how to explore it for designing games. This will help readers get familiar with the pillars of Unity's Engine architecture and assist them in making better technical decisions.

We will then learn about the game industry's most popular software design patterns. Right from the initial concept up to its implementation, you'll learn every detail in the context of genuine industry use cases that game programmers often deal with in the field. This approach will be a onestop reference point and will give you a complete picture of tried and tested software development patterns with Unity using C#.

We will review classic patterns such as Singleton; modern patterns such as Event Bus; and even rare patterns such as the Spatial Partition.

The book concludes by covering the dark side of design patterns, by exposing recognizable patterns that tend to creep out in code bases and have unexpected negative side-effects.

What you will learn

  • Discover the core architectural pillars of the Unity game engine.
  • Learn about software design patterns while building gameplay systems.
  • Acquire the skills to recognize anti-patterns and how to avoid their adverse effect in your codebase.
  • Enrich your design vocabulary so you can better articulate your ideas on how to better your game's architecture.
  • Gain some mastery over Unity's API by writing well-designed code.
  • Get some game industry insider tips and tricks that will help you in your career.

Who this book is for

The ideal target audience for this book is game developers who want to get their hands on industry-standard, software development patterns and techniques to create engaging and exciting games with Unity 2018. Basic Unity development knowledge is necessary to make the most out of this book. Prior experience with C# will also be helpful

Table of Contents

  1. Engine & Game Architectures
  2. Game Loop and Update Method
  3. Prototype
  4. Factory
  5. Abstract Factory
  6. Singleton
  7. Strategy
  8. Command
  9. Observer
  10. State
  11. Visitor
  12. Facade
  13. Adapter
  14. Decorator
  15. Event Bus
  16. Service Locator
  17. Dependecy Injection
  18. Object Pool
  19. Spatial Partition
  20. The Anti-Patterns


Similar Products

Learning C# by Developing Games with Unity 2019: Code in C# and build 3D games with Unity, 4th EditionDeveloping 2D Games with Unity: Independent Game Programming with C#Game Programming PatternsFoundations of Game Engine Development, Volume 2: RenderingUnity Game Development Cookbook: Essentials for Every GameUnity Artificial Intelligence Programming: Add powerful, believable, and fun AI entities in your game with the power of Unity 2018!, 4th EditionThe Art of Game Design: A Book of Lenses, Second EditionFoundations of Game Engine Development, Volume 1: Mathematics