Skip to main content

Height Band

The Stratifier. Similar to Axis Band, but specialised for vertical (Y-axis) ranges with advanced anchoring.

Ports

PortTypeDescription
Output Float1.0 inside the band, 0.0 outside.

Details

Parameters

  • Min / Max Height: The normalised range (0.0 to 1.0).
  • Reference Height: An optional height in tiles. If set, the anchors below will use this as a baseline.
  • Min / Max Anchor:
    • Normalised: Bound moves with the map scale.
    • Bottom: Bound is fixed relative to the map bottom (using Reference Height).
    • Top: Bound is fixed relative to the map top.

Potential Use Cases

  • Fixed Sea Level: In maps of varying heights, use a Bottom anchor to ensure the "Water" band always stays at the same tile height regardless of how tall the map is.
  • Atmosphere: Use a Top anchor to define a "Sky" region that always occupies the top 20 tiles of the map.
  • Vertical Biomes: Define "Underground" (0.0 - 0.4), "Surface" (0.4 - 0.7), and "Sky" (0.7 - 1.0) layers for side-scrolling exploration.