In this episode of our complete 2D Platformer series, we continue building our game step by step in Unity.
This tutorial focuses on implementing proper combat interaction between the player and the enemy. We’ll add arrow impact detection, create an enemy health system, handle enemy death, and implement enemy attacks that damage the player.
By the end of this video, you’ll have a fully functional two-way combat system integrated into your AI setup.
If you haven’t watched the previous tutorial covering Patrol and Chase AI, make sure to check that out first, as this episode builds directly on it.
📦 Download Project Assets
https://drive.google.com/file/d/1z19FEkO2i5xB_nYal8nWkxKwiPXY9_2C/view?usp=sharing
⏱️ Timestamps
00:29 – Arrow Impact & Enemy Hit Detection
05:59 – Enemy Health System & Killing the Enemy
08:15 – Enemy Attacks the Player
14:15 – Adding a Mission Objective
Download
0 formats
No download links available.
Unity Enemy Combat Tutorial Hit Detection, Health System, Player Damage | NatokHD