Skip to content
UdemyUnityPaid courseBeginner levelCertificate

Design Patterns for Game Programming - Unity 6 Compatible (Udemy.com)

An exploration of robust modularised code building for games and C#.

Created by: Penny de Byl

Last updated February 2025

icon
What you will learn

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

How it compares

Against the other 183 rated Udemy courses in Unity on CourseDuck:

  • Rating4.4 out of 5higher than 36% of them
  • Reviews1,415#32 of 184 by number of reviews
  • Length9.2 hoursshorter than 55% of them
  • Last updatedFebruary 2025more recently than 79% of them

icon
Quality Score

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 88 / 100

icon
Course Description

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:

  • commands

  • flyweight

  • observer

  • prototype

  • singleton

  • states

  • object pools

  • game loops

  • updates

  • components

  • ...and more.


Contents and Overview

The 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.

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 platform

  • I 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!

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Penny de Byl

Hi, I'm Dr Penny de Byl.  I'm a full stack developer of most things computer sciency and academic with a true passion for teaching.  I've been teaching others about games development, programming, computer graphics, animation and web design for over 25 years in universities in Australia and Europe at the full professor level. I've also consulted for Unity, SAE, the Australian Institute of Entertainment and Wikitude. My best selling textbooks including Holistic Game Development with Unity are used in over 100 institutions world-wide.  My graduates work at companies like Apple, Ubisoft, LinkedIn and Deloitte Digital.

I have an honours degree in computer graphics and a Ph.D. in artificial intelligence for games characters.  Over the course of my career I've won numerous awards for teaching excellence at the state, national and international levels including the Australian Learning and Teaching Council's Excellence in Teaching Award and the Unity Mobile Game Curriculum Competition. My approach to teaching computer science and related fields is project-based giving you hands-on workshops you can immediately get your teeth into.

I want you to leave my virtual classroom fully armed with a toolkit of skills for life-long learning.  I'm excited to now be focussing my efforts full-time on Udemy to bring my years of knowledge and experience to those eager to learn about technology.


icon
More courses by Penny de Byl

$10.99

$14.99

$11.99

$13.99

$11.99

$10.99

icon
More Unity courses

$79.99

$74.99

$149.99

$13.99

$149.99

$16.99

icon
Reviews

4.4

1,415 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Faikar on 4/8/2023

Professor Penny has unique approach at implementing Design Pattern in her own way. I learned a lot of programming techniques and Unity architecture from this course. Thank you so much professor! This course is a good introduction to design pattern on Unity game development. It gives enough example for students to learn what "Design Pattern" is. I hope that there will be Unity Design Pattern part 2 which covers all of the Design Pattern in one single project instead of being separated in many little projects. I believe that approach will be more "holistic" and I'd probably buy that course. Thank you anyway for the course!

By Mikha Milnasio Faskayana on 6/21/2022

This course definitely up to its content, explains the majority of design pattern that mostly used in game design. To be fair, I have learned this before during my undergraduate, however it was all theory and I was unable to comprehend most of it. Fortunately, with the practice given here I am able to grasp each of the pattern. As for feedback, it would be nice to get a bit of extend for the command pattern. Since the example is the input system, a tutorial for changing the key bindings would be preferable. Once again, I'm glad for taking this course.

By Christopher Houtkooper on 10/9/2021

My personal journey through this course came with very little frustration. That is after I downloaded the proper version of Unity :). Penny taught in a very step by step approach that was super easy to follow. Her explanations of the code were easy to understand, which made it much easier for me to learn, read, and understand the code she was teaching to write. Because this course was so great at explaining what these design patterns are, my hope is that Penny will teach courses that really focus on the when, where, why, and how to implement these patterns in video game development. Thank you so much Penny for your courses!

By Mikhail Sergeev on 11/14/2020

Everything i need in one course! Thanks a lot :)
Unfortunately there is no MVC pattern, but i found the Observer Pattern pretty similar to it.

By Olivier Raveneau on 10/22/2020

Ce cours prsente les design Patterns utilis par Unity permettant ainsi de mieux comprendre le fonctionnement du moteur.
Mais aussi, 4 patterns indispensables pour aborder la cration de jeu un niveau professionnel.
L'enseignante est toujours aussi bonne pdagogue.

By Leaundrae Mckinney on 10/8/2020

Penny always has the best content!

By Kieran Mathieson on 10/2/2020

Good course! Maybe help students build mental models of apps before going into deets.

By Andrs Campos Segura on 10/1/2020

One of the best if not best Unity course I have found in my whole experience.
The same for the teacher, she explains in a very nice way, complex things looks easy with her.
This is gold.

By Nic B on 9/25/2020

I really love Penny's courses. They are well thought out and never pose such an overwhelming challenge that I feel like I can't overcome them. This is not my first course with her and I will continue coming back. Thanks a ton!

By Yao Zhao on 9/11/2020

Best Unity class I've taken. If you have coding background and some basic Unity knowledge, this class will tell you best practices for serious game development.

By Takahiro YAMANA on 8/12/2020

UnityC#

By Arpit Srivastava on 8/9/2020

A good introduction to the implementation of design patterns. Now for me who has worked with Unity for quite some time and game development in general, I already had some basic knowledge of some of the patterns like State Machine, Object Pooling, Singleton. But other than that, I had no idea or maybe somewhat of patterns like Flyweight, Observer, Prototype, Command which took me with surprise. As how some of them were already built into Unity. The main takeaway for me was how useful things like prefabs and scriptable objects actually are. Because a lot of times I used to just ignore prefabs for certain things. But now I am not gonna do that. And that is what it was really explained well in the Flyweight and Prototype section of this course. Whereas, getting the basic idea of ECS was something really helpful, as now I understand what it actually is. Though I am not really gonna use ECS anytime soon since it seems quite daunting to me as of it's current state and mainly because it's still in experimental stage. Whereas, Command Pattern was something new to me and I liked the idea of recording key presses. Now coming to the Observer Pattern. It was something I used to hear quite a lot but never really took time to understand it. Until realizing that... that's how delegates/events actually work in Unity. I'd say that the setup of the Event system was nice and it gave me a general idea for implementing observer pattern without using delegates. But that's it. I think a little bit more insight like how functions subscribe to an event, meaning how we can create our own event ( not the default Unity one ) could have been really great. I think using delegates seems to do the same thing. Whereas on the other hand prototype pattern had the same premise too but it was all in all good knowing how prefabs actually work. So that's why I think observable pattern could have been explained a little bit more, as I felt like I didn't really learnt something extra while making the event system. Whereas with the Prototype Pattern, the whole setup process of prefab was a good learning experience. For patterns which I was already familiar with like State Machine, Object Pooling and Singleton, I learnt a lot of useful new things about them. For example, the idea of extending a pooling system was something that never came to my mind, and was very useful. Similarly, with State Machine I always had trouble trying to layout the states in such a way that the Update loop can be run somehow effectively. And this is something where I really liked the whole implementation of the Process() function. From now on I am going to layout my state just like that. Overall, it was a really good course, and something I will definitely recommend to a beginner. But I do think that there could have been some content for things like implementing state machines for player movement... for example, which I believe is quite hard compared to enemy. And maybe a little bit more in-depth explanation for working of events. But either way, the course was really good, something which I will definitely recommend to someone who wants to get an introduction to design patterns used in game programming.

Showing 12 of 178 reviews