Cells & Walls

Paint cell types. Click walls to cycle states. Direct manipulation — no dialogs for the fast stuff.

The Four Editor Modes

DM keeps the editor surface small by splitting it into four modes. Press SPACE to cycle through them, or click the mode name in the Mode Guide panel (top-left).

● Select

Cursor: default. Click a cell to select it — properties panel shows cell type, theme, floor, and any content. Ctrl+click multiple cells to multi-select for room clustering.

● Walls

Cursor: crosshair, amber accent. Hover wall segments to highlight. Click to cycle the wall state. The status bar shows which wall direction (N, NE, E, SE…) you're editing.

● Content

Cursor: grab, blue accent. Pick an item from the palette, then click a cell to place it. Invalid placements (wrong cell kind, over limit, safe zone) show a reason instead of silently failing.

● Navigate

Cursor: move. Free camera — orbit (left-drag), pan (right-drag), zoom (scroll). No cell picking, so you can't accidentally edit while framing a shot.

Cells and Cell Types

Every octagon and connector starts inactive — geometry exists, but it's not floor. Click in Select mode to activate. An active cell is floor that renders, has walls, and can hold content.

Each cell has a cell type — a semantic label describing what the cell is, which drives floor texture, trim, and content rules. DM ships a 44-type catalog organized in seven categories:

📂 Cell Type Catalog

Structural (10): Empty, Passage, Junction, Hub, Stairs Up, Stairs Down, Shaft, Bridge, Gate, Secret

Natural (10): Cave, Stalactite Cave, Stalagmite Cave, Crystal Cave, Mushroom Grotto, Water Pool, Underground Stream, Lava Cell, Ice Cave, Collapsed

Constructed (6): Chamber, Pillared Hall, Alcove, Prison, Library, Forge

Sacred (3): Shrine, Entrance, Boss Throne

Treasure (3): Vault, Cache, Hoard

Hazard (6): Trap Floor, Trap Walls, Trap Ceiling, Gauntlet, Puzzle, Mimic Den

Combat (6): Guard Post, Patrol Route, Ambush, Nest, Arena, Barricade

The full catalog and its room-sizing guidance live in ADR-022.

Cell types aren't cosmetic. A Shrine or Entrance is a safe zone — the Content tool will refuse to place enemies or traps there. A Boss Throne raises the Physical axis on the Challenge Compass even before you place anything. A Puzzle cell implies a Mental challenge. The catalog means things.

Wall State Cycling

Walls are the fastest thing to edit in DM. Switch to Walls mode, click a wall edge, cycle. One click advances one state. The full cycle:

SOLID → DOOR → GATE → GRATE → WINDOW → SECRET → OPEN → back to SOLID

The order is deliberate. SOLID is the starting state because that's the safe default. OPEN is last because removing a wall is the most drastic action — you have to cycle past five other options to get there. You rarely open walls by accident.

What the states mean

✅ Reciprocal walls update automatically

When you click a wall on cell A, the matching wall on cell B (the cell on the other side) updates to the same state. You never have to edit both sides. The grid enforces consistency so the geometry always matches what you see.

Octagon Walls vs. Connector Walls

Octagons have 8 walls (indices 0–7, clockwise from N); connectors have 4 walls (indices 0–3, TL / TR / BR / BL). Even-indexed octagon walls are long edges shared with neighbor octagons; odd-indexed are short edges shared with connector diamonds. See The Octile Grid for the full addressing.

Practical consequence: when you open a wall between two octagons (a long edge), the two rooms merge directly. When you open a wall between an octagon and a connector (a short edge), you're opening a passage into the 3.6 m corridor diamond — the connector's other three walls may still be solid, so the corridor can dogleg or dead-end.

Walls mode: hovering a wall edge with cycle states shown. Reciprocal wall highlighted on the other side.
Recommended: 1920×1080

Themes and Textures

Every cell has a theme (natural_cave, ancient_stone, crystal, etc.) that picks the floor and wall texture set at render time. Themes are set per-layer by default so each dungeon floor has a coherent look, but individual cells can override. The full texture manifest (82 PNGs across floor and wall variants) is committed alongside the app at public/textures/manifest.json.

What's Next