First-Person Enemy AI and Combat - Enemies that fight back | Castle Wars Devlog #2.2

Опубликовано: 15 Июнь 2026
на канале: Weekie
201
9

I needed to test the Combat System for my game, so I needed to make the enemies fight back. In this video I give the enemies proto AI, make them chase after the player if they're within a certain zone, give them swords and animations, as well as the ability to deal damage to the player.

This is all so I can update the combat system to include blocking! So get subscribed.

Join the Mailing List: https://www.nerdherd.network/castle-w...

Instagram:   / castlewarsgame  
TikTok:   / castlewarsgame  
Twitter:   / castlewarsgame  

Chapters:
00:00 - Introduction
01:20 - Title
02:02 - Enemy Combat Zone
03:03 - Giving the Enemies Targets
03:53 - Movement (v1)
04:44 - Speed Round (I went to class)
06:06 - Giving the Enemies Weapons
06:38 - Discussing Proto AI, and Attacking
07:22 - Fixing Sword Animations
08:13 - Sword Attack Animations
09:14 - Making the Enemies do Damage
10:10 - Bug Fixes, Discussion of new Damage Values
11:08 - Blocking attacks
11:53 - Outro

Music:
Jennifer B - Jockstrap
Pharmacist - Alvvays

Tags:
first,person,game,development,unity,fps game,tutorial,shooter,custom games,custom,castle wars,sounds,music,movement,bungie,release,campaign,gameplay,abilities,advanced,dash,crouch,unity tutorial, combat system, proto AI, Enemy AI, sword animation, damage system, health system, enemy zone, chase player, enemy movement, rigidbody movement, enemy animation, blocking, sword blocking, melee combat


#Unity #CastleWars #gamedev