N2G
new2gaming
/browse
/topics
/about
random()
Browse
Search
All
Consoles
Game Mechanics
Getting Started
Hardware
Making Games
Parents
PC Building
Subscriptions
1 guide
Making Games
20 Oct
How does an enemy decide what to do? State machines explained
How does a game guard seem to think? Usually with a finite state machine: a few states like Patrol, Chase and Search, plus simple rules for…
4m