Skip to content
Hot storyPast story

How game enemies and bosses make action decisions: a primer

1 report1 sourceUpdated 26 d ago

What happened

AI overview

Unity's official blog published an introductory article on three common ways game enemies make decisions: separating behavior into states, behavior trees checked by priority, and scoring actions by situation. Using a castle guard as an example, it explains four states — patrol, investigate, attack, and flee — and says enemy perception and attack telegraphs should feel fair to players. The article also breaks boss fight design into two approaches: testing player skill, and advancing in phases.

AI-written from the coverage · updated 25 d ago

Coverage timeline

Follow the coverage to see the story from different sides.

Oct 27
  1. Unity BlogPick
    How enemies and bosses decide what to do in video games: a primer

    This Unity official primer covers three common ways game enemies decide what to do: separating behavior into states, behavior trees checked by priority, and scoring actions by situation. Using a castle guard, it explains four states — patrol, investigate, attack, and flee — and stresses that enemy perception and attack telegraphs should feel fair to players. The article also breaks boss fights into two design approaches: testing player skill and advancing in phases.