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

Skillshare

The Ultimate Guide To C# Unity 2D Programming (2022)

via Skillshare

Overview

This course is made with the latest content and newest technics used in modern Game Development

The best way to learn anything is by doing it in a really fun way and this is where this course comes from. If you want to learn how all these incredible games you see are made there is no better place to start than this course. We made sure that this course has everything you need to take you from a beginner (even with zero codding experience) and slowly take you to intermediate and finally become a professional.

I chose the main project in this course to be a 2D platformer because it not only has a vast library of game development concepts that we can implement and learn, but also because it's very simple (especially if you are a beginner) to delve in and get started on your game development journey.

Everything in this course has been meticulously crafted, review and recrafted to provide you with the best experience possible and maximize your learning as much as possible. So not only will you have a great time learning you'll also get the MOST BANG FOR YOUR BUCK by going away from this course with a lot of tools in your arsenal to continue you journey in the wild west of game development.

Section 1 - Introduction & Setup:

We'll start off by downloading all the necessary tools that we need to start our game development journey. That means the latest version of Unity and the latest version of Visual Studio. We'll also go over everything you need to make you feel right at home and how to use the course to maximize your learning potential. We'll finish off by creating our first code with a very simple game just to take the pressure off

Section 2 - Magic Game Cube: C# & Unity Basics:

This is where things get heated up. We'll start by leaning what Version Control is which is an incredibly powerful tool for game developers and used by professional programmers around the world. We'll learn the basics of C# so even if you have ZERO CODING EXPERINCE you can still understand everything and learn how to build great games and continue on with the project. We'll also get a grasp on the fundamentals of Unity Engine and how everything works in it

Section 3 - Castle Conquest: Setting Up Our World:

We begin our Main Project. We'll start off by setting up our world, and what better place than the Game Design and player experience of our game. We'll add sprite sheets slice them. You'll learn how all these maps in 2D platformers are so easily created and understand how it's not as hard as it seems. We'll add our character who's a great Conqueror wielding his trusted Hammer and you'll get your first taste of animations

Section 4 - Castle Conquest: Creating Our Conqueror:

Here is where you go deeper into making our character feel alive. We'll give him the ability to move in the levels we created and interact with various things like the walls and so on. Our Conqueror will jump, climb, run, flip and just stand there sometimes Idling. We'll also implement a modern game development technique called CINEMACHINE that makes our game really cool and professional

Section 5 - Castle Conquest: Adding Enemies & Bombs:

It's where things get a bit scary because our Conqueror is no longer safe. There are new threats inside his castle with pigs roaming and bombs ready to explode at any moment. We'll add enemies, animated them and make them hurt our Conqueror if he walks too close to them. We'll also add hazards like bombs that blow our player up if he doesn't keep a safe distance after they start burning

Section 6 - Castle Conquest: Controlling Our Game:

This is where we add lives to our player, we add more levels and add a score to get anyone playing our game a goal that they should achieve. Make everything in our world much more interesting and fun to experience. This is also where we add Sound Effects to our world and really make everything come alive

Bonus Section:

This is where we do a little bit extra. We delve deeper into the UI canvas of our game and make it much better to look at. We add all the SFX we have available, so that everything we interact with has a sound attached to it, and finally we tweak the progression of the levels by adding a couple of new animations to our player

What You Will Learn In This Course:

  1. Download and install Unity and Visual Studio

  2. Why we need Visual Studio with Unity

  3. Use Visual Studio with Unity in a simple way

  4. How to set a good Game Development environment

  5. Unity Engine are in a simple and comprehensive way

  6. The Basics of C# in the most fun ways possible by creating a game

  7. Use player input to control the behavior of our game

  8. Add different component to game objects

  9. Add gravity and other forces to game objects

  10. Make game objects interact with each other in our game

  11. Add sprite sheets and slice them up

  12. Create Tile assets

  13. How to create levels from our tile assets

  14. Become a ninja problem solver and learn how to go step by step to solve any problem in Game Development and coding

  15. Create animations

  16. Make transition between animations

  17. Add climbing mechanics

  18. Add bombs that explode and kill player

  19. Add enemies that attack you

  20. Create levels automatically with 2Dextras

  21. Learn what player experience is

  22. Add sound effects to your game

  23. Add a scoring system to our game

  24. Add lives to our player with dying conditions

Syllabus

  • Introduction & Course Structure
  • Section 1: How To Download Unity & Visual Studio
  • How To Use This Course
  • How To Work In Unity Interface
  • Writing Your First Code In C#
  • Section 2: Magic Game Cube 2D -Introduction To Version Control
  • Setting Up The .gitignore File
  • Print Using Debug.Log()
  • Variables 101
  • Responding To Player Input
  • Adding Rigid Bodies & Colliders
  • Adding Magic To Our Cube
  • Using If, Else If, Else Statements
  • Public Methods & Return Types
  • Prefabs And Parent Child Relationships
  • Section 3: Setting Up Our World - Game Design
  • How To Slice Up Sprites In Unity
  • Tile Maps In Unity
  • Rule Tiles 101 (2D Extras)
  • Adding Our First Animations
  • Animation Transitions
  • Adding 2D Collisions
  • Section 4: Moving Our Conqueror Horizontally
  • Flipping Our Players Sprite
  • How To Trigger Animations From Code
  • Adding The Ability To JUMP!
  • Tweaking Jumping Using IsTouchingLayers()
  • How To Prevent Wall Jumping
  • How To Add Climbing Mechanics
  • Tweaking Climbing Mechanics
  • Cinemachine Follow Camera
  • Cinemachine Confiner Extension
  • State Driven Cameras
  • Section 5: Adding Enemies And Bombs - Making Enemies
  • Player Hit
  • Drop The BOMB
  • Exploding Our Conqueror
  • Adding The Attack Ability (How To Use Arrays)
  • Killing Off Our Enemies
  • Section 6: Controlling Our Game - Adding Levels
  • Exit Door
  • Main Menu & Success Level
  • Game Session
  • Hearts and Diamonds Pickup
  • Adding Sound Effects (SFX)
  • Persistent Lives And Score
  • Bonus Section: Level Enter
  • Adding SFX To Everything
  • Adding Hearts UI

Taught by

Michael Murr

Reviews

Start your review of The Ultimate Guide To C# Unity 2D Programming (2022)

Never Stop Learning.

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

Someone learning on their laptop while sitting on the floor.