Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build an Idle Clicker Tycoon Game in Unity C#
Rating: 4.4 out of 5(533 ratings)
3,337 students

Build an Idle Clicker Tycoon Game in Unity C#

Learn Unity C# game development and design patterns by building an idle sim like AdVenture Capitalist, with save data.
Last updated 11/2026
English
English [Auto],

What you'll learn

  • Create an idle clicker tycoon in Unity with C#
  • Build the core loop: a store, a timer, costs, and progress over time
  • Add more stores, a progress bar, a game manager, and store prefabs
  • Use the singleton and observer patterns in the game manager and UI
  • Add managers, purchasable upgrades, and a panel to unlock them
  • Save and load progress, including offline play and large numbers
  • Store game data in XML, CSV, and Scriptable Objects
  • Preview advanced prompt engineering: how models read prompts, prompt anatomy, clarity, and failure modes.

Course content

14 sections • 82 lectures • 15h 10m total length
  • Introduction to the Business Tycoon Course and Example Gameplay1:58

    NEW UPDATE NOV 23, 2021 BLACK FRIDAY RELEASE of  Unity Idle Business Tycoon 2.0!

    I just completed an entire re-write of the entire idle data generator using Scriptable Objects! The entire system as been re-factored to use scriptable objects. I've uploaded a BETA build of the code already and will be preparing a detailed lecture on the re-design.

    You can go ahead and download the code for yourself from this lecture under resources.


    Game Design Document

    Now attached to this lecture is a GDD (Game Design Document). It is very simple but as was pointed out in the comments it is a good idea to have a GDD when building out any game.


    Introduction

    This short introduction lets you see the finished game with some simple creative common graphics. Attached to this lecture is a zip file of the final Unity Tycoon project for the game.

  • Why this course includes an Advanced AI Prompt Engineering preview0:42

    Why this course includes a free preview of advanced prompt engineering, and when to watch it while you build the idle game.

  • Unity C# Idle Clicker Tycoon - 250 Question Practice Test (70% to pass)
  • Looking at the New Game Manager - Namespaces, Constants, Setters & Getters18:56

    In this lecture we begin walking through some of the upgrades that have been made to the game manager. Specifically we begin with namespaces and we have included them throughout the project to better encapsulate our scripts and prevent them from conflicting with other modules or code you would bring into the project. Then we look at some basic uses of constants and how they are use much like variables... but cannot be changed at runtime.

    Finally we look at how we can improve our overall design to protect the properties in our classes using setters & getters. 

  • New Game Manager Methods and Understanding the basics of Coroutines10:25

    In this lecture we begin walking through some of the upgrades that have been made to the game manager. Specifically we begin with namespaces and we have included them throughout the project to better encapsulate our scripts and prevent them from conflicting with other modules or code you would bring into the project. Then we look at some basic uses of constants and how they are use much like variables... but cannot be changed at runtime.

    Finally we look at how we can improve our overall design to protect the properties in our classes using setters & getters. 

  • Resetting our game and understanding static methods and properties18:54

    Reset the game with static methods and properties so a new run starts from the starting balance.

  • Loading and Managing BIG NUMBER Descriptions19:59

    In this lecture we will review how we used a CSV file to store hundreds of big number descriptions and load it into an arraylist. We then use LINQ to find the correct description for a given value.

  • Introduction to the Idle Game Data Generator: Loading from CSV Files18:08

    Load store, manager, and upgrade rows from CSV files into the idle game data generator.

  • Generating Idle Game Data into XML14:31

    Turn the generated store data into the XML the game loads at startup.

  • Creating a Custom Inspector and Refactoring to eliminate using prefabs17:53

    Replace hand-placed store prefabs with a custom inspector that builds the store list from data.

  • Using a Custom Inspector to Generate Idle Game Data13:37

    Use the custom inspector to generate a new idle game's stores, managers, and upgrades.

  • Requirements

    • Unity installed, plus a basic familiarity with the Unity editor
    • No prior programming experience is required. A little code experience helps.
    • If you are new to programming, plan to rewatch lessons and look up C# basics as you go

    Description

    Build a complete idle clicker tycoon in Unity with C#. You start from an empty project and finish with a business sim in the style of AdVenture Capitalist, Cookie Clicker, and Web Tycoon. The finished game has many stores, managers that automate those stores, upgrades the player can buy, and saved progress.

    The course opens with a welcome. You see the idle game you will build, and why a preview of advanced prompt engineering is included for developers who use AI while they write game code.

    You learn Unity game development by writing the game. The lessons start with simple C# that a beginner can follow, including variables, if statements, and a timer. They then move into patterns you can reuse on later games. You use a singleton for the game manager, delegates and events for the observer pattern, and a UI manager with a small state machine. Prefabs create stores at runtime.

    The game grows in layers. First you build one store and a progress bar. Then you add a game manager, more stores, store cost math, a buy control, store art, and prefabs, and you hide stores the player cannot afford yet. A managers panel unlocks a manager for each store so that store keeps running. Later lessons add upgrades, scroll views, a control for buying several stores at once, a per-second rate for each store, and large numbers described out to 300 exponents. You save and load the run, including progress that continues while the game is closed, and you add a prestige reset that starts a new run.

    Data is part of the design. You load stores from XML, load names and upgrade tables from CSV, and save state with PlayerPrefs. A later section moves store data into Scriptable Objects and a custom inspector. The Idle Game Data Generator builds stores, managers, and upgrades from parameters, and it writes human-readable XML you can edit. You also practice static methods, constants, properties, LINQ, and coroutines, each one tied to the tycoon you are building.

    The project source is included, with comments in the scripts, for Unity 2019, Unity 2020, and Unity 2021. Artwork in the project comes from Creative Commons. The course is for beginners and intermediate developers. You should already be able to open Unity and find your way around the editor. Prior programming experience helps, and it is not required. If you are new to code, plan to rewatch lessons and look up C# basics as you go. There are about 14 and a half hours of video instruction.

    After the welcome, the tycoon lessons run in build order: the first store, more stores, store features, managers, XML data, purchasable upgrades, saving and generated data, then Scriptable Objects. The Advanced AI Prompt Engineering section is after those tycoon lessons.

    This course includes the section Advanced AI Prompt Engineering. It is a free preview of the introduction and foundations from Advanced Prompt Engineering: Agentic & Multimodal Techniques. Those lectures cover how models read a prompt, the anatomy of a strong prompt, clarity, and common failure modes. Watch that section when you want a better way to ask an AI tool for help with C# and Unity, then come back to the tycoon lessons.

    Greg Moss teaches the course under Odoo Class Videos. Copyright 2015-2021 First Class Ventures, LLC. This item is not authorized for posting on Steam, or on any other game or game asset site, without permission.

    Who this course is for:

    • You want to build an idle business tycoon similar to AdVenture Capitalist
    • You are a beginner or intermediate developer learning Unity and C# game development
    • You want the core gameplay built step by step, from an empty project to a full sim
    • You want to practice design patterns and refactoring inside a real game