Design Patterns for Game Programming

An exploration of robust modularised code building for games with Unity 2019 and C#.
Design Patterns for Game Programming
File Size :
7.16 GB
Total length :
9h 0m



Penny de Byl


Last update




Design Patterns for Game Programming

What you’ll learn

How to create robust, reusable modularised code for use in games programming.
How to implement repeatable solutions to address common game programming problems.

Design Patterns for Game Programming


Be able to program in C#.
Have used the Unity Game Engine at a Basic Level.


Want to create code that is robust, optimized and reusable? Then you need to learn about programmming design patterns.Game Programming Design Patterns are templates for building modularised code that are generally a repeatable solution to a commonly occurring mechanic applied in computer games. They are general solutions that aren’t tied to a particular problem, making them reusable. One such pattern is object pooling. Whether a game needs an onslaught of constantly spawning zombies or bullets fired from a gun or asteroids to pummel the player’s spaceship, an object pool is a group of classes that can be reused, exactly as they are, across not only these scenarios but a plethora of others whenever game objects need a spawn manager.In this course, Penny will take you through the top 12 game programming design patterns with C# and the Unity Game Engine using her internationally acclaimed Holistic teaching style and expertise from over 25 years teaching, researching and writing about games. Throughout the course you will follow along with hands-on workshops designed to teach you these core programming concepts that will take your games to the next level.Learn how to program and work with patterns such as:commandsflyweightobserverprototypesingletonstatesobject poolsgame loopsupdatescomponents…and more.Contents and OverviewThe course begins with a brief introduction and then you are straight into hands-on exercises, working through each of the design patterns as listed above. There are a variety of scenarios you will work on in both 2D and 3D from an asteroid shooter, to a radar object finding system to a programmable prototype prefab system. All starter files and Unity assets (including models and scenes) are provided for you. All you need to bring is a copy of Unity 2019.If you want to become a knowledgeable and skilled game developer, then this course is for you.What students are saying about Penny’s courses:Excellent course!! I am already in game development industry and there is one quote here from the course that says it all “Whenever you are not able to solve complex problem, its the right time to get back to the BASICS”.She is the best teacher ever in this platformI do like Penny de Byl’s courses and way of teaching, they are much more specific than your average “master Unity” kind of courses and usually you don’t learn just the engine, but also how things work behind the scenes (albeit briefly, at least it gives you an idea if you want to investigate more on your own). She’s really amazing!


Section 1: Introduction

Lecture 1 Introduction

Lecture 2 Join the H3D Student Community

Lecture 3 Contacting H3D

Lecture 4 Frequently Asked Questions

Section 2: The Command Pattern

Lecture 5 Commands Part 1

Lecture 6 Commands Part 2

Lecture 7 Commands Part 3

Lecture 8 Commands Part 4

Section 3: The Flyweight Pattern

Lecture 9 Investigating Memory

Lecture 10 Scriptable Objects Part 1

Lecture 11 Scriptable Objects Part 2

Lecture 12 Unity’s ECS Part 1

Lecture 13 Unity’s ECS Part 2

Lecture 14 Unity’s ECS Part 3

Lecture 15 A little ECS Optimisation Extra

Section 4: The Observer Pattern

Lecture 16 Observers Part 1

Lecture 17 Observers Part 2

Lecture 18 Observers Part 3

Lecture 19 Observers Part 4

Lecture 20 Observers Part 5

Section 5: The Prototype Pattern

Lecture 21 The Prototype Pattern

Lecture 22 Cloning a Game Object

Lecture 23 Dynamic Prefab Creation

Section 6: The Singleton Pattern

Lecture 24 The Singleton

Lecture 25 Using a Singleton

Section 7: The State Pattern

Lecture 26 The State Pattern

Lecture 27 Creating and Using a State Class

Lecture 28 Patrolling the Perimeter

Lecture 29 Chasing the Player Part 1

Lecture 30 Chasing the Player Part 2

Lecture 31 State Challenge

Section 8: The Object Pool

Lecture 32 Setting Up the Project

Lecture 33 Adding in an Object Pool

Lecture 34 Extending the Object Pool

Lecture 35 Blowing Up the Ship

Section 9: And…

Lecture 36 More Patterns

Lecture 37 Final Words

Lecture 38 Where to now??

Game programmers who want to better their understanding of programming constructs to improve their code.,Beginners learning game coding who want to get off on the right foot.

Course Information:

Udemy | English | 9h 0m | 7.16 GB
Created by: Penny de Byl

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top