Adventure design
Walkable area
Also: walkbox, walk area, walk mesh
A walkable area, often called a walkbox, is the invisible polygon over the background that defines where the player character may move. Obstacles such as tables or fountains are holes cut into it, and pathfinding only plans routes inside it.
Background
A painted picture has no idea where the floor is. Early adventures therefore laid chains of quadrilaterals over the image, the original walkboxes, and moved the character from box to box. Modern engines usually use a single polygon with holes, or a navigation mesh made of triangles.
Depth almost always comes with it: the higher up the screen a character stands, the further back it is and the smaller it is drawn. Walkable area, depth scaling and depth sorting have to match the perspective of the art, or the character floats above the floor or walks through furniture.
Common mistakes: entry points or hotspot walk-to points sit just outside the area, so the character stops in the wrong place; obstacles are cut too tightly, so feet end up inside furniture; or a narrow passage accidentally splits the area in two and part of the scene becomes unreachable.
How we do it
In the Wurzelwerk engine the walkable area is the walkArea field of a scene file, optionally several walkAreas that switch with game state. Pathfinding in nav.ts builds a visibility graph over the polygon's corners and runs Dijkstra on it to find the shortest route (see pathfinding).
For Tatort RMH we no longer draw walkable areas by hand. Blender exports raw floor data per scene; a tool subtracts obstacles with a margin for the character's width, projects the result into the image with a homography and fits depth as a straight line through measured character sizes. A preview draws the walkable area in green, holes in red and entry points in blue. Fixes go into the 3D kit, never into the scene file.
Related terms
- Pathfinding (A*)Game AI & real-time strategyPathfinding computes a short, walkable route for a game character from A to B, usually with Dijkstra’s algorithm or its variant A*.
- Depth sortingEngine & techDepth sorting decides which character is drawn in front of which, usually by the screen height of its foot point.
- HotspotAdventure designA hotspot is an invisible region of an adventure game scene that the player clicks or taps to examine or use something.
- Asset pipelineProduction & AI toolsThe fixed chain of tools that turns raw material such as 3D models or AI images into finished, validated game files.
- Walk cycleEngine & techA walk cycle is the looping sequence of frames for one full stride. If it does not match the movement speed, the feet slide.