
Finished project is provided in the materials. You will still have to install the art packs as shown in 'Installing Art Packs' lecture.
Finished project is provided in the materials. You will still have to install the art packs as shown in 'Installing Art Packs' lecture.
Install the cinema machine and input system packages in the Unity editor via the Unity registry, then enable faster testing by turning off play mode domain reload.
Create a multi-layered background in Unity by adding three sprite-backed game objects with a sprite renderer, tiling them, and assigning a background sorting layer below default to ensure foreground renders.
Create a 2D platformer player with a sprite renderer and Rigidbody2D, wire Unity input actions for left-right movement, and implement a velocity-based player controller.
Learn to implement a Cinemachine follow camera in Unity 2022, enabling crisp pixel-art tracking, adjustable damping, look ahead time, smoothing, and dead zone settings to follow the player smoothly.
Attach a parallax effect to background layers in Unity, use the camera movement and a parallax factor to shift each layer at different speeds, creating depth in a 2D platformer.
Implement a Unity 2D platformer animation system with idle, walk, and run clips. Drive transitions using is moving and is running, and flip the player by scaling for left-right facing.
Create a knight enemy in a Unity 2d platformer, using a sprite renderer, animator, and prefab; drive movement with a dynamic rigidbody and edge-flipping ai using touch directions.
Deploy a knight enemy in a 2D Unity platformer with attack AI and animation states; implement an animator controller and a detection zone to trigger attacks.
Create a damage component that manages max health and current health, implements invincibility, triggers death states and death animations, and fades out to remove defeated characters.
Learn to implement attack hits with damage and knockback in Unity 2D, using hit colliders, animation-driven enablement, and a damage system with invincibility and knockback events.
Create floating damage and healing text with Text Mesh Pro in Unity, using a UI manager and a global Unity action to spawn, move, fade, and remove numbers above characters.
Create a healing pickup in a 2d platformer using a health restore item with a trigger collider and a max health cap.
Create a three-hit sword combo in Unity by adding attack two and attack three animations with separate colliders and per-hit damage, then chain them via exit-time transitions and triggers.
Implement a bow and arrow ranged attack in Unity: animate bow, fire a kinematic arrow via an animation event, spawn from a launcher, and apply damage and knockback.
Create a flying eyeball enemy in Unity that ignores gravity, uses a capsule collider and damage component, moves between waypoints, attacks via a bite, and fades out on death.
Add aerial sword attacks in Unity by creating air attack clips, enabling hit colliders on key frames, and setting damage values with animator transitions for fluid air combat.
Export and test a 2D platformer in Unity by adding a UI driven exit action mapped to the Escape key, ensuring clean exits in full screen builds.
Create immersive audio for a 2d platformer by implementing music with intro and loop audio sources, and triggering weapon and hit sound effects through animation states.
Configure a canvas scaler to scale UI with screen size. Place a health bar at the top left with a slider and text, updating via health changed events.
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...