Chapter 10Fields of View
In the darkness ahead, the hero sees an orc. Hoping to sneak past, our hero skirts the room—but the orc turns to give chase. Sprinting down the hall with the orc hot on their heels, the hero turns into a side passage and hides. The hero was lucky this time—the orc broke off pursuit.
This scene requires that neither the hero nor the monsters know each other’s position until they can see each other. Monsters still chase the player, but only when they can see their intended target. The player is able to maneuver to break line of sight and escape from the monster. In previous chapters, entities are effectively omniscient—able to see the entire map at once. The new features require that entities know what they can see—and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access