Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Skillshare

Complete Beginners Guide to Unity C# Game Development

via Skillshare

Overview

Learn the ins and outs of building 2D games in Unity 2018 from the ground up. We will cover working in the engine, GameObjects & Components in detail, many coding topics, and building art assets from a technical perspective.

We will start from basics and there will be example scripts for you to download, test, and use if you wish throughout many of the tutorials provided in the course.

With a focus on coding, I will be showing you advanced techniques such as Dependency Injection to make your scripts more loosely coupled and easier to make changes to later on and Unit testing through the Unity Test Runner.

Several external tools will be covered as well to help you in creating your game (Pyxel Edit for Pixel Art, BFXR for Sound Effects, etc).

Relevant Course Materials (Scripts, Assets) will be uploaded her for you to use https://drive.google.com/open?id=1Z4sJ8BR4NSXPiltno0O1RjuC4Ny4_atD

Note that not every tutorial will have it's own assets

Here are some of the Unity basics that will be covered in the course

  • Rigidbodies and 2D kinematic game physics
  • Adding, using, and manipulating components on game objects
  • Workflows in Unity and learning how to work more efficiently
  • Manipulating audio sources for sound playback during events and animation
  • Adding lighting to 2D sprite objects in the game engine.
  • Using the Unity Tilemapping Tools to Create Game Maps with easy collision setup
  • Step A to Z in Creating Prefabs for your game like a Giant Animated Fireball

Here are some of the coding topics covered in the course

  • Collision checking for walls and event triggers
  • UI Menus - How to create and navigate between menu using the UI components available inside of unity
  • Saving and Loading Game Data to Permanent or Temporary Files on Any Platform
  • Odin Inspector - a Premium addon that makes it easy to design inspectors for your scripts so designers can make changes to your game and also opens up serialization for important C# objects like Dictionaries.
  • Managing character inventories including items and money
  • Remembering the state of objects in the game when the player leaves and reenters a scene
  • How to Use Scriptable Objects - Storing important game data like settings in an asset file that you can easily edit with the Unity inspector
  • Custom unity events and making outside scripts react to them
  • Enemy and Projectile spawning scripts
  • Unit Testing and Scene Testing with the Unity Test Runner
  • Dependency Injection with Zenject


Music from https://filmmusic.io
"Beauty Flow" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)

Syllabus

  • Unity Course Introduction
  • What are Components vs GameObjects Explained
  • Differences between Canvas GUI Elements vs Gameplay Objects
  • All UI Components Explained
  • MonoBehaviours and Unity Lifecycle Hooks (Update, Fixed Update, LateUpdate, Start, Awake)
  • Basic C# - Random Color Changing Script
  • Random Color Change on Timer Tracking deltaTime in Script
  • Introduction to Scriptable Objects
  • Making Items in Scriptable Object Inventory System
  • Referencing Scriptable Object Assets and Nesting Scriptable Objects
  • Scriptable Object Shop Inventory and Showing Items to Players
  • Aseprite vs Pyxel Edit Pixel Art Animation & Tile Tool Comparison
  • How to Import and Create Custom Color Palettes
  • Best Way to Import 2D Sprites & Pixel Art
  • Control Sprite Rendering Order (Which 2D Objects Show in Front)
  • How to Create Shadows for 2D Game Sprite Images
  • How to Setup Baked Lighting to Illuminate 2D Pixel Sprite Games
  • Make a Simple 2D Tiled Background
  • How to Hide Part of Sprite Animation with Sprite Mask
  • How to Move Left and Right with Input & Rigidbody 2D Forces
  • Limit Run Speed Velocity Cap
  • Jump Forces and How to Check If Player is Standing on Ground Collider
  • Collider.Cast - Checking for Collisions
  • Fireball Spritesheet Animation Setup
  • Moving Fireballs with Collision Detection
  • Projectile Physics - Curved Path and Returning Projectiles
  • How to Move a Kinematic Body with an Animation Curve
  • Making a Main Menu - Setup
  • Coding Main Menu Buttons
  • How to Make Load Menu Popup & Close Menu Buttons
  • Pause Menu with Prefabs & Singleton Menu Manager Script [Part 1] Setup
  • Pause Menu Prefab & Menu Manager [Part 2] MonoBehaviour Manager Script
  • Menu Prefabs & Menu Manager [Part 3] Singleton System
  • Menu Prefabs & Manager [Part 4] Decoupling Data from Singleton System
  • Menu Prefabs & Singleton Manager Part 5 Control UI Menus in Singleton System Code
  • Customize GUI Locations During Gameplay in Options Menu
  • Smooth Pixel Perfect 2D Movement
  • How to Spawn Copies of Enemies or Projectiles at Mouse Cursor Point
  • Custom Unity Events and Delegate Actions in Inspector
  • Animated 2D Door Open Close on Trigger
  • Spawn GameObjects when Scene Loads through Code
  • GUID Manager Unique IDs for Maintaining Changes to Game Objects During Game Play
  • How to Save and Load with Save Files
  • How to Create Character Talking Blip Sound Effects in BFXR for Classic Style Games
  • Introduction to Zenject
  • Dependency Injection for Spawning Game Objects after Scene Load
  • Game Settings as Scriptable Object Installer
  • Basic Unit Testing Setup with Assembly Definition Files
  • PlayMode Tests for GameObjects in Test Scene
  • Unit Testing with Zenject Dependency Injection

Taught by

Christopher Navarre

Related Courses

Reviews

Start your review of Complete Beginners Guide to Unity C# Game Development

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free