2D Platformer Game Development Crash Course For Unity 2022

Posted By: ELK1nG

2D Platformer Game Development Crash Course For Unity 2022
Published 11/2022
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 5.20 GB | Duration: 7h 31m

Unity GameDev from Scratch to Create Platformer Characters and Game Mechanics

What you'll learn

How to Create a Platformer Player with Ground & Air Sword Swing Combos and a Ranged Bow Attack

Make ground and air enemies with basic enemy AI

Build a game level with tileset and tilemap tools

Setup up player input with the InputSystem package and UnityEvents

Learn about animation state machines and using AnimationStateBehaviours to control complex characters

Create a health pickup item to keep your player alive

Requirements

I recommend using Unity 2022.1.20f for the project to avoid problems from have a different editor version

You should have some knowledge of how to program to understand basic concepts. This course is code heavy. All code is done live on screen so you can copy directly when needed.

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 PhysicsAnimation State Machines for Players and Enemy CharactersDealing Damage to Player and Enemy CharactersWorking with Tilemaps and Tilesets to Build Game LevelsBasic Enemy AI PatternsRanged AttacksAerial AttacksCombo AttacksAnimationStateBehaviours for triggering changes on eventsHealing Health PickupsMusic & SoundHow to Export a GameCinemachine Follow CameraInput System Actions and UnityEvents for handling player inputFloating damage textAnd more…

Overview

Section 1: Introduction

Lecture 1 Project Setup

Lecture 2 Installing Art Packs

Lecture 3 Installing Unity Packages and PlayMode Settings

Lecture 4 Adding Background Image and Layer

Lecture 5 Player Input Left and Right Movement

Lecture 6 Cinemachine Follow Camera

Lecture 7 Parallax Background

Lecture 8 Controlling Walk, Run, Idle Animations

Lecture 9 Managing Animator Parameters with Static Strings

Lecture 10 Ground Tileset

Lecture 11 Jumping and Air Movement

Lecture 12 Attack Animation and Movement Lock

Lecture 13 Making a Knight Enemy Move

Lecture 14 Enemy Attack AI and Animation States

Lecture 15 How to Make Characters Take Damage

Lecture 16 Attack Hits with Damage and Knockback

Lecture 17 Knight Enemy Improvements

Lecture 18 Create Floating Damage Text on UnityAction

Lecture 19 Make a Healing Pickup Item

Lecture 20 Combo Sword Attack

Lecture 21 Make a Bow and Arrow Ranged Attack

Lecture 22 How to Make a Flying Enemy

Lecture 23 Aerial Sword Attacks Setup

Lecture 24 Export Game Build and Make a Exit Game Action

Lecture 25 Sound Effects and Music

Lecture 26 UI Health Bar & Final Quick Fixes

Aspiring game developers,Looking to make a 2D, Platformer, Pixel Art, or Unity Engine Game