How to Make Characters Take Damage - 2D Platformer Crash Course in Unity 2022 (Part 15) @ChrisTutorialsYT
How to Make Characters Take Damage - 2D Platformer Crash Course in Unity 2022 (Part 15)  @ChrisTutorialsYT
Uploaded November 2022 | Updated September 2026, 2 weeks ago
Creating a separate script where a character can be hit and take damage and setting up transitions to player or enemy character death states by checking the health of the character.

Reference Project Patreon Download ➣ patreon.com/posts/2d-platformer-73894085
2D Crash Course Platformer Tutorial Playlist ➣ youtube.com/playlist?list=PLyH-qXFkNSxmDU8ddeslEAtnXIDRLPd_V
Play the Project in Web Browser ➣ chris-tutorials.itch.io/platformer-crash-course-reference-project

➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
patreon.com/christutorials
chris-tutorials.itch.io
https://linktr.ee/ChrisTutorials

◢ Chris Recommends ◥
Master Skills with Skillshare Video Courses ►► skillshare.com/r/user/christutorials?gr_tch_ref=on
Save Money Shopping Online with Honey Extension ►► joinhoney.com/ref/qd04c25

00:00 - What to Expect
00:27 - Damageable Component Script
03:42 - Hit for Damage Method
06:49 - Testing Hit for Damage
07:37 - Transition to Death State
08:17 - Turning Off Transition to Self for Animation State
09:12 - Player Death State
11:24 - IsAlive Reference on Player Controller
12:26 - FadeRemoveBehaviour
How to Make Characters Take Damage - 2D Platformer Crash Course in Unity 2022 (Part 15)How to Make a Flying Enemy - 2D Platformer Crash Course in Unity 2022 (Part 22)Tilemaps - How to Add Collisions, Water, and Layers - Godot 4 Resource Gathering TutorialBehavior AI Trees Setup & Character Health - 1 Bit Platformer [Part 7] ~ Godot 4.3Ground Tileset & Tilemap Building - 2D Platformer Crash Course in Unity 2022 (Part 10)Godot vs Bevy: Why Im Pivoting to ECS for My Next Simulation2D Platformer Attacks and Enemy Setup ~ Godot 4 TutorialHow to Create 2D Objects During Gameplay with Collision Checking ~ Godot 4.4 TutorialGrid Builder Plugin for Godot 4 - Full Updated Setup GuideHit & Wander AI Actions ~ 1 Bit Platformer [Part 9] ~ Godot 4.3How to Make a Pause Game Menu & Pause the Game ~ Godot 4 TutorialThe Complete Calendar & Time System for Godot 4 — Calendar Time Demo
Chris Tutorials |

How to Make Characters Take Damage - 2D Platformer Crash Course in Unity 2022 (Part 15)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER