🎮Non-Player Character (NPC)
Also known as NPC, NPCs, Non-Playable Character
A character run by the game, not the player. A guard or a shopkeeper is one.
Think of it like
Think of it like an actor in a play who is not you. They follow the script you wrote for them.
Example
In Emma's game, a guard walks back and forth until he sees the player. Then he gives chase.
Why it matters
NPCs make a world feel alive. Their rules decide if a game is fun or frustrating.
Definition
Common mistake
Key takeaways
- 1Not the player. The game's code controls them.
- 2Simple rules. Small rules can look like thinking.
- 3Fun first. Good game AI is beatable.