Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Complete Unity 2018 - Coding Games in C#
Rating: 3.5 out of 5(26 ratings)
3,755 students

Complete Unity 2018 - Coding Games in C#

Code and build your way to a finished 2D cross-platform game with a wide variety of core game development topics
Created byChris Tutorials
Last updated 12/2019
English

What you'll learn

  • Build a 2D game with working physics, enemies, and projectiles
  • Create triggers and events to make the game progress at the right time
  • Work with sprite renderers to achieve appealing visual effects
  • Save and load game data from and to files
  • Manage player inventories with item pickups or powerups
  • Loosely couple your scripts with dependency injection for better code management
  • Run tests on your game without hitting play every time with the Unity Test Runner

Course content

13 sections49 lectures8h 4m total length
  • Components vs GameObjects & How They Work Together5:46

    A comparison of GameObjects and Components - two central concepts within the unity game engine. This video explains how the two work together to create functioning players, enemies, and other game world entities.

  • Differences between Canvas GUI Elements and Gameplay Objects4:57

    Everything in the hierarchy is a GameObject but there are still some important distinctions between those that go on the Canvas UI and those that exist within the game world and interact with your player.

  • All UI Components Explained12:43

    UI Components Covered: Canvas, Panel, Text, Image, Raw Image, Button, Toggle, Drop Down, Input Field, Scroll View. We cover the basics of how to use each of these and what settings you'll find inside the inspector for them

  • MonoBehaviours and Unity Lifecycle Hooks (Update, Start, Awake)5:17

Requirements

  • Unity 2018 or Above
  • An image editing program like Photoshop, Pyxel Edit, or GIMP to create or edit your sprites in
  • Knowing a little bit of programming and C# will help a lot

Description

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

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 Used: Beauty Flow by Kevin Macleod (CC-BY 4.0 License)

Who this course is for:

  • People who want to build their own games in a robust and extendable game engine
  • Anyone who may know a little code, but wants to learn how to C# libraries specific to the Unity Engine
  • Lovers of 2D Pixel Art Games
  • C# learners or developers who want to follow good design practices like Dependency Injection and Unit Testing while building their games