Learn to make an Awesome Builder-Defender game in Unity! (Udemy.com)
Construct Buildings, Gather Resources, Defend your base from Enemies and more!
Created by: Code Monkey
Last updated August 2021
What you will learn
- Learn from a Professional Indie Game Developer
- Learn how to make a City Builder, Tower Defense, RTS, Village Simulator, etc
- Students will learn how to make a complete game from start to finish
- Learn how to structure a codebase using Clean Code principles
- Learn the basics of Shader Graph, Particle System, UI, Scriptable Objects, etc
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 98 / 100
Course Description
Hello and Welcome!
I'm your Code Monkey and in THIS course you will learn step-by-step how to make a Builder-Defender game.
The design is sort of a mix between a City Builder and a Tower Defense game so if either of those genres are something you're interested in then this course is just for you!
With the knowledge you will learn from this course you will be able to make City Builders, RTSs, Tower Defense games, Tycoons, Village simulators and much more.
About me, I'm a Professional Indie Game Developer with several successful games published on Steam covering a wide range of genres, I've been Programming for over 20 years and using Unity for almost 10.
Also a couple of years ago I started a YouTube channel making Free Video Tutorials to share the knowledge I have accumulated to help you learn how to make YOUR OWN games.
If you'd like to try out my learning style before purchasing the course you can watch the over 300 Videos available for Free on the YouTube channel.
They are presented as clear step-by-step tutorials just like this course.
A bit more about the game...
It's a really interesting mix between a City-Builder and Tower-Defense game.
The player has the ability to place buildings and those buildings gather resources.
There's three starting resource types, Wood, Stone and Gold, although everything is set up in such a way that you can easily add more Resource Types.
The Resource Generation is based on proximity so a Wood Harvester needs to be placed near Trees in order to gather Wood.
The Buildings take some time to be Constructed and it shows that progress with a nice visual element and a really awesome Shader effect.
Then we also have some Enemies, they are simple but still look great.
Our HQ can defend itself by shooting arrows and we can also place Towers to add more defenses.
Over time more and more enemies will be spawned until the player can't take it anymore.
So its all about Placing Buildings, Gathering Resources, Placing more Buildings and Defending your HQ for as long as you can.
The whole game has tons of effects and lots of awesome features. You can see some cool shaders, glow, screenshake, post processing, tooltip, lots of UI elements, smooth camera, particles and so on. The final game plays really great and feels very satisfying.
This course starts with a completely empty project starting completely from scratch and step-by-step we will get to the final game.
Everything is built in a very clean and modular way so you can easily take this as a base and expand upon it with more Building Types, Enemies, Maps and so on.
This course is presented as a thorough step-by-step guide where I will show you exactly how to do what I'm doing and why it is that I'm doing it so you can learn how to think like a game developer.
This course will cover a bunch of topics including:
How to create a Building System
Handle Building construction and Resource spending
Also how to manage Resource Generation
Handle Enemy AI with Attack Logic and a Health System
Build up the World with Resources in specific places
Learn the basics of Unity tools like Shader Graph, Post Processing, Particle System...
And much much more!
As for requirements you really just need to know the absolute basics of Unity and C#.
If you've never touched Unity or C# before then there are two lectures in the extras section which cover the basics
If you know, how Unity works, what are Game Objects and Components, what is MonoBehaviour and basic C# syntax then you should be able to follow everything without any issues.
If you feel confused or lost at any point in the course make sure you post your questions in the Q&A section
I will be there to help with whatever issues you may have
Alright so go ahead join me on the course and lets build this awesome game together!
- Code Monkey
Instructor Details
- 4.9 Rating
1,909 Reviews
Code Monkey
Hello and Welcome, I'm your Code Monkey and I teach all about Game Development using Unity and C#
I'm a Professional Indie Game Developer with 9 Successful Published Games on Steam. I've been programming for over 20 years and using Unity for almost 10.
Four years ago I started a YouTube channel sharing my knowledge to help you on your game development journey.
There's already over 800 free videos on the channel covering a variety of topics from beginner to advanced.
Check out Code Monkey on YouTube
And Endless Loop Studios on Steam
Thank you for reading and I hope you'll learn a lot from me to help you make your own games!
More courses by Code Monkey
Make Games without Code? Master Visual Scripting in Unity! (2023)
4.6 (2,253 Reviews)
Provider: Udemy
Time: 21.4h
$99.99
Ultimate Unity Overview (70+ Tools and Features Explained!) (2025)
4.6 (1,818 Reviews)
Provider: Udemy
Time: 16.5h
$94.99
More Unity courses
RPG Core Combat Creator: Learn Intermediate Unity C# Coding (2025)
4.8 (11,337 Reviews)
Provider: Udemy
Time: 27.6h
$149.99
Learn To Code By Making a 2D Platformer in Unity (2017)
4.8 (2,597 Reviews)
Provider: Udemy
Time: 13.1h
$69.99
Learn Blender 3D Modeling for Unity Video Game Development (2026)
4.8 (2,152 Reviews)
Provider: Udemy
Time: 11.7h
$149.99
Learn To Create A Roguelike Game In Unity (2020)
4.8 (1,234 Reviews)
Provider: Udemy
Time: 19.4h
$94.99
Make a Match-Three Puzzle Game in Unity (2021)
4.8 (1,013 Reviews)
Provider: Udemy
Time: 16.2h
$74.99
Reviews
By SeventhPortal (Warp_Portal) on 6/18/2024
Thanks for the excellent course, Sensei! CodeMonkey is an experienced game dev and teacher, having produced dozens of games and hundreds of hours of educational content. What makes him a great teacher is how passionate about what he does and how dedicated he is to helping his students find the same success he has in game dev. If you're looking to start your game dev journey, I recommend this as a good place to start. It can be difficult, especially if you don't have any programming background, but don't give up! Examine the logic behind what's being done, endeavor to solve any errors or issues on your own when possible (seriously, this helps you learn!), and when you feel ready for it, start trying to deviate from the course material in small ways. Try modifying features that the course implements, or adding new features of your own - once you feel comfortable enough to start doing that, that's when you really start to learn a lot quickly! If you're ever having trouble, take advantage of the Q&A section - you'll be likely to get a helpful response from CodeMonkey within a day. Despite having released a number of different courses now, CodeMonkey still takes the time to assist students needing help with every single one. If you want a teacher that's just as passionate about teaching as he is about game dev, I can recommend no better teacher than CodeMonkey!
By Hyunsang Joo on 5/26/2023
Best unity course I have ever taken. There's a little caveat though. It may seem like a course for a total beginner. (I've been playing around with Unity for a couple of years.) But I don't think so. It is face paced and full of content to digest and process. Actually, the course took me way more time that the lecture hours. I needed to go back and forth and do extra research or just get away from the keyboard and take some time to think about the logic. If you can get just a little patient and stay focused, there's tons of information and know-how that you can learn!! The codes looked a little too complex than it should be, but as the course continued I came to understand why he designed things the way he did. Also, Code Monkey is very responsive! He answered my question within a day most of the case, if not all the time. Overall, I am very satisfied with the course and excited to take more of his courses.
By David Hart on 3/31/2022
I cannot say enough how happy I am that I took this course! Unity Code Monkey has an easy and effective style of communication. Every video in this course is produced to a very high standard of quality. He concisely conveys the key information and provides context to help learners understand why certain choices are made over others. The content is comprehensive and organized to facilitate the learning curve of a novice game developer/programmer. The lessons learned are useful well beyond the genre of game that is presented. I also found the extras useful, as well as the treasury of information available for free on Unity Code Monkey's site. Three cheers!
By Nik Nak on 1/9/2022
It's a great course and very dense with info and good coding practices. It has several intermediate and some advanced codes, unity features, and mechanics that is rarely seen in other tutorials. Absolutely worth it! My only critique is that the pacing of the course picks up REALLY fast, by the time you reach Lecture 15 or so (and especially Lectures 25+), the skips and video speed ups occur more often making it a bit frustrating to follow. The explanations are more brief, so you will need to do some research on your own. Overall, I've purchased all of the Instructors course and have not been disappointed. Hopefully he continues to make more, but take out those skips and fast forwards (as many other here has mentioned).
By Kiran Cyrus Ken on 12/7/2021
In short, I say this is an awesome course. There are a lot of mechanics and functionalities explained and there are lot to learn. This course can be considered as intermediary level rather than beginner level. The course covers basic C# and Unity features, though if you already done a unity beginners course, then it would be easy to follow and reduce the course completion time. I did a unity beginners course and it took me nearly 3 months to complete the course. It took me 3 months, becaouse I worked a lot to fix the bugs that occured during development and tried to complete without any errors. If I didnot have beginner knowledge, it would have taken more time. As said earlier, you can take it directly even if you are a beginner, but make sure you work on all the topics covered and spend some time on research and debugging too. There are some videos in which, nearly as much as 10 features are taught. Most of the videos cover more than one mechanics or functionality in a single video. So I would say this course is fast. If you are a beginner, make sure you watch the video once and plan it according to your pace and then practice it so that you would not be overwhelmed. For some videos, I was overwhelmened with the information I was getting and I splitted those videos into multiple sessions so I can process it. Again, it is me. You may absorb things better. Again, it is a wonderful, impressive and one of the best Unity courses. I learned a lot from it.
By George Bluny on 12/27/2020
This was better than I expected. I already knew CodeMonkey. I was stuck on some UI for my first hobby game, there were many ways to do it and I could not settle on a single approach. This went on for days, and I saw this course from his youtube, and I thought it will be a good refreshment and recreation to see his ways, and it sure was! I thought maybe I will see a few tricks, but there were much more than a few. Right on the beginning I was surprised by something that I didn't know about, I don't remember what was it exactly. The only I remember from the beginning is that finally I see how scriptable objects can be useful. One thing that could have been shown is the profiler. Especially in case of the enemy wave UI, because that was where most of the processing of the Update() functions go. There could have been shown an easy solution there, such as keeping track of all enemies so that the GetComponent() does not have to be used in the loop, significantly reducing the processing time of that Update(). There were many other smaller points where with just a little change some performance could have been saved, but I understand that somewhere he had to draw the line for the complexity of the course. It was also nice to see how he approaches UI. All in all this is a nice complete course with many tricks about unity, and core game development tips. Thank you!
By Kai . on 12/5/2020
First I'd like to thank Code Monkey for this course. I've learned a lot, and it met my expectations of what I can learn here. The instructor is very knowledgeable with the subject as well. I'd probably just comment on speeding up parts of the videos making them hard to follow even when lowering the play speed of the video. Some students would definitely like to see, myself included, what's being inputted in the inspector clearly before playing with the values personally. This also goes with the scripts as sometimes can potentially miss out on some code before being able to pause. Lastly, hoping the instructor can speak more clearly as sometimes the words are slurred. All in all, it was a great experience. Acquired good knowledge. Thanks again and keep up the good work!
By Mark Schwarz on 11/15/2020
Best Unity and C# course so far. I have watched a lot of Unity tutorials but this course I would definitely recommend to everyone. The codes are very clean and easy to follow by. The pace of the tutorial is very appropriate and not overwhelmed or repeated the same thing to lengthen the course. As the video continues you will learn more complex features by using basic concepts. I found that after finished a course and go back to the codes, most of them I spend quite some time remembering what the logic was. In this course, everything is well organized. After completing this course you should have enough knowledge to create tons of other games.
By David Luiz Conceição dos Santos on 11/6/2020
I had been waiting for a course like this for a long time. I follow the instructor's YouTube channel, but I missed something with purpose from start to finish and the course was launched. I really like the 2D Top-Down style with resource management. The game developed is simple and fun but, what I liked most and what I really expected I found in this course: the best ways to write the code, why to program the way it is proposed, how to avoid performance problems, the system of events. I really learned how to use Scriptable Objects in practice and how it helps in the design of the game's features. This course really helped me a lot. Thanks!
By Jonathan Perryman on 9/11/2020
Best game making tutorial I've ever come across. I really needed a good course like this to take me from the beginning to the end of a project. I'm half way through it right now but I am certain this will get me past the personal roadblock I had when I tried making a game from start to finish. Also I am very happy to have finally learned features that I never came across before, like Scriptable Objects and Physics2D Overlap calls, and to have learned how to keep scripts from getting tangled together by using the Singleton method. EDIT: I just finished the course, and I am VERY glad that it came out when it did. I was struggling to properly and efficiently interconnect GameObjects and manage object collections before this video, but now I am very excited to get back to developing my game without having to struggle so much at every turn.








