Dungeon Architect

Spatial Constraint customization in Node level (for detecting corners, edges, etc)

watch?v=AMv7rFT6C1M

I poured through the engine code and got this detail customization finally working :slight_smile:

A builder can define constraints (and corresponding UI) in the node level and work on those constraints for selecting the nodes

The default Grid based builder defines 3 constraint configuration

3x3 - useful for floor constraints
2x2 - useful for pillar constraint
Edge - useful for wall constraints

Each cell can have one of the 3 states:

  • Occupied
  • Empty
  • Don’t Care

This way you can selectively add nodes that are designed for corners, edges. T-junctions, X-junctions, Single-lane corridors etc

I didn’t implement the logic yet. Will have more tomorrow