Log inGet started
Package

api.module

Newest version

README.md

arenaHazardsKit.api

The storm ring and the burning lanes, stepped every frame on every peer by the game's run loop.

  • step(dt, settings, body, playing) moves the ring markers, tints the lanes (off, warning, burning) and hurts this peer's player when it stands in the storm or in the burning lane.
  • radiusAt and laneAt are pure timing functions; outside, time, reset read and clear the state.
  • configure hands in the damage route (health module such as SecondWind, or a damage callback), the arena centre, lane names, labels and tick lengths; new makes an independent runner; settingsFromPlan reads an arenaLayoutKit plan.