Programming Design Patterns For Unity: Write Better Code

How to apply programming best practices to your Unity projects, improve your game development skills and solve problems

4.58 (992 reviews)
Udemy
platform
English
language
Game Development
category
instructor
Programming Design Patterns For Unity: Write Better Code
6,079
students
3.5 hours
content
Jul 2022
last update
$69.99
regular price

What you will learn

Fundamental programming best practices

How to write clean, maintainable code

What problems to solve with Programming Patterns

How to write common Patterns in Unity

How Programming Patterns implement best practices

Why take this course?

Do you ever wonder why your code has so many bugs or find yourself perplexed by code you wrote months ago?

Maybe you've heard of Programming Patterns but don't understand when to use them, or you want to know how to actually implement these Patterns in Unity?

In this course you'll take your coding to the next level!

From fundamental programming best practices including how to write clean, maintainable code to what problems to solve with Programming Patterns, how to write common Patterns in Unity and how Programming Patterns implement best practices.

By the end of the course you'll know how to:

  • Spot bad practices.

  • Refactor bad code into better code.

  • Unpack common Patterns to see why they work.

  • Apply Programming Patterns to game specific examples.

If you're an intermediate Unity programmer wanting to make bigger games, without drowning in complex code, then this is the course for you.

To take the course you'll need a strong understanding of basic C# programming (classes, methods, ifs, loops) and some familiarity with more advanced concepts (inheritance, interfaces, events).

All students have access to the Q&A forums where our Instructors, Teaching Assistants and Community are ready to help answer your questions and cheer on your success.

Screenshots

Programming Design Patterns For Unity: Write Better Code - Screenshot_01Programming Design Patterns For Unity: Write Better Code - Screenshot_02Programming Design Patterns For Unity: Write Better Code - Screenshot_03Programming Design Patterns For Unity: Write Better Code - Screenshot_04

Reviews

Ayush
October 2, 2023
Course is short and sweet! Sam sir is very awesome teacher. But I have a suggestion that please add some real game examples so that we beginners can understand more clearly.
Josip
August 17, 2023
It's an amazing course, 4.5 stars only because I wish they provided more examples in unity for the certain patterns.
Keith
August 16, 2023
Overall, this course was excellent. I would have liked a couple more lessons on the Adapter and Factory patterns though. The only other feedback I would give is to not say "naïve", instead maybe say "beginner"....there are less negative connotations with that word.
Daniel
July 22, 2023
Yes, despite this course could be more beginner friendly, as I'm learning with CodeMonkey on youtube, I can see the resemblance of the "clean code" he likes to mention, which I like it a lot and I'm here coming from him, to learn how to improve my experience on programming in Game Dev. Just to add a little comment, I felt that on Decorator Pattern lesson should have been given more Game Play Examples to understand better the concept. Nevertheless, I liked the course and i'll be coming back to review it in the future.
Daniel
July 20, 2023
Learned a lot more about programming than I expected. Very succinct and concise and the lecturer gives very simple lessons about complex structures and patterns.
Zeinna
June 29, 2023
it feels like i would have understand it faster when reading the whole code by myself without explanation, but it is still worth of knowledge to be shared e.g. the commandment on the beginning :D
Craig
June 23, 2023
I found some things hard to understand even with explanation, which is mostly because I have no computer science background and everything I know about unity is online courses. Mostly by gamedev. I do struggle with what exactly an interface is and how things interact with it. But in general I learnt alot of very helpful ideas which targeted my biggest worries with my lack of programming experiance, and thats could my code be better. This taught me the correct way to approach code, and gave examples on how I could do things better. All in all I'm glad I bought the course, thank you.
Jacob
June 13, 2023
It took about 10 minutes with this course for me to receive the metaphorical bopping on the nose with a rolled up newspaper for all of the horrifying code I've written. I prioritized this class because I've been stuck and I keep *getting* stuck. I don't have a formal computer science education, so when my projects get sufficiently large, I inevitably have hit this brick wall where I no longer know how to untangle them into something sensible. I know the technical bits and bobs of Unity, but I've been derelict in my CompSci fundamental education. No more. I can't say that this class is a perfect panacea and I'll never have code problems again (where would the fun in that be, anyway?), but MAN do I feel smarter and more well-prepared now. I knocked out this class in one day, even pausing constantly to take notes and do the challenges, and it was one day very well spent. I highly recommend this class. Now on to the recommended reading!
Avash
June 1, 2023
The lecture could be more detailed. Like Explaining more about delegates and using custom datatypes ,etc. Other than that it looks fine. What I think is that after going through all the topics I need to read its documentation and other implementation examples to have a good understanding about the patterns.
Alexandre
May 3, 2023
Très bonne base. La plupart des explications sont clairs, mais certain principes auraient gagné à être plus développé.
Christopher
April 19, 2023
I'd suggest that the sections on strategy/decorator/composite could use a more concrete example, maybe something as simple as actually making the "Delay" decorator actually do a delay. As currently presented, these don't actually change the behavior of the app in the desired way. I was also expecting the course to be a bit more Unity pattern centric; with Unity design patterns like components and scriptable objects, UI (controllers/keyboard/mouse/touch) flow management, and less of the more generic GoF patterns. (e.g. more stuff like the State Machine). That said, I'm satisfied with what was presented.
Sebastián
April 18, 2023
Severe lack of external resources and further reading. Each lecture is limited to a single example. It gets to the point, but it's not thorough enough to fully grasp these design patterns.
Jeremy
April 16, 2023
The only thing lacking from me giving a 5 star the lack of an example of a use case/practical application. I understand use cases can greatly change depending on the project or context but just showing some real world examples might help alot for example clips of the rpg course you refer us to purchase. Other than that this is an amazing course if you want to be a better coder.
Richard
March 29, 2023
Yes was looking for. a course to help me code better and using code patterns I think will help alot
Michael
March 18, 2023
Overall, I like the approach of giving a bad example, explore the consequences, but there is a lot more to it. People find out the hard way that when it is required to scale up an application and take it up a notch, then real problems start. It is usually the point where most realize they need not even partial refactor, but most likely redo most of the modules and it is even more overwhelming, because they have so little time to rethink of an X amount of classes. In general, everything mentioned so far will work just fine, except when the crunching and rapid testing, micro milestones kind of make it impossible to stick 100% to those principles and have to come back at a later stage to fix those (pre identified mistakes). - I know this can happen at work most likely and not in a hobby project. Other than that anything mentioned is true.

Charts

Price

Programming Design Patterns For Unity: Write Better Code - Price chart

Rating

Programming Design Patterns For Unity: Write Better Code - Ratings chart

Enrollment distribution

Programming Design Patterns For Unity: Write Better Code - Distribution chart
4433652
udemy ID
12/7/2021
course created date
12/28/2021
course indexed date
Bot
course submited by