How To Make A 2D Platformer Game In Unity 2022 From Scratch

Posted By: ELK1nG

How To Make A 2D Platformer Game In Unity 2022 From Scratch
2022-11-20
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.40 GB | Duration: 7h 32m

How To Make A 2D Platformer Game In Unity 2022 From Scratch

What you'll learn

Description

Learn how to create a 2D platformer game inside of Unity 2022. This course shows you how to build player and enemy characters for movement and combat within a side scrolling platformer game. Much of the course is dedicated to understanding Animators in unity as we build out full animation state machines for both the player and enemy characters. To go along side the states and transitions are StateMachineBehaviour scripts which let you queue up changes and effects for your characters when entering or leaving states. For instance, this is very helpful when you want to make a character jump upon entering a jump state when the jump action is pressed on your keyboard. To make player input go smoothly, we use the new InputSystem to set keybinds to actions and respond to those actions triggering through UnityEvents. To make the game more complete, we make use of Cinemachine follow camera, parallax background, health pickups, sound, and tilesets to continue building out our demo game. Many of the scripts are intentionally designed to be reusable like the Damageable script which lets any character take damage or be healed on triggering events.
The final course project with all source files are provided in the course for you to use or reference in any of your own projects!

Player Controller, Movement and Physics


Animation State Machines for Players and Enemy Characters


Dealing Damage to Player and Enemy Characters


Working with Tilemaps and Tilesets to Build Game Levels


Basic Enemy AI Patterns


Ranged Attacks


Aerial Attacks


Combo Attacks


AnimationStateBehaviours for triggering changes on events


Healing Health Pickups


Music & Sound


How to Export a Game


Cinemachine Follow Camera


Input System Actions and UnityEvents for handling player input


Floating damage text


And more…



Overview

Lesson 1:Course Intro 2D Platformer Game Development
Lesson 2:Project Setup
Lesson 3:Installing Art Asset Packs
Lesson 4:Installing Unity Packages and PlayMode Settings
Lesson 5:Adding Background Image and Layer
Lesson 6:Controlling Walk, Run, Idle Animations
Lesson 7:Parallax Background 2D Platformer Crash Course in Unity 2022 (Part 7)
Lesson 8:Cinemachine Follow Camera 2D Platformer Crash Course in Unity 2022 (Part 6)
Lesson 9:Player Input Left and Right Movement 2D Platformer Crash Course in Unity 2022 (Part 5)
Lesson 10:Managing Animator Parameters with Static Strings 2D Platformer Crash Course in Unity 2022 (Part 9)
Lesson 11:Ground Tileset 2D Platformer Crash Course in Unity 2022 (Part 10)
Lesson 12:Jumping and Air Movement 2D Platformer Crash Course in Unity 2022 (Part 11)
Lesson 13:Attack Animation and Movement Lock 2D Platformer Crash Course in Unity 2022 (Part 12)
Lesson 14:Making a Knight Enemy Move 2D Platformer Crash Course in Unity 2022 (Part 13)
Lesson 15:Enemy Attack AI and Animation States 2D Platformer Crash Course in Unity 2022 (Part 14)
Lesson 16:How to Make Characters Take Damage 2D Platformer Crash Course in Unity 2022 (Part 15)
Lesson 17:Attack Hits with Damage and Knockback 2D Platformer Crash Course in Unity 2022 (Part 16)
Lesson 18:Knight Enemy Improvements 2D Platformer Crash Course in Unity 2022 (Part 17)
Lesson 19:Create Floating Damage Text on UnityAction 2D Platformer Crash Course in Unity 2022 (Part 18)
Lesson 20:Make a Healing Pickup Item 2D Platformer Crash Course in Unity 2022 (Part 19)
Lesson 21:How to Make a Combo Sword Attack 2D Platformer Crash Course in Unity 2022 (Part 20)
Lesson 22:Make a Bow and Arrow Ranged Attack 2D Platformer Crash Course in Unity 2022 (Part 21)
Lesson 23:How to Make a Flying Enemy 2D Platformer Crash Course in Unity 2022 (Part 22)
Lesson 24:Aerial Sword Attacks Setup 2D Platformer Crash Course in Unity 2022 (Part 23)
Lesson 25:Export Game Build and Make a Exit Game Action 2D Platformer Crash Course in Unity 2022 (Part 24)
Lesson 26:Sound Effects and Music 2D Platformer Crash Course in Unity 2022 (Part 25)
Lesson 27:UI Health Bar and Final Fixes 2D Platformer Crash Course in Unity 2022 (Part 26)