Log inGet started
World

Within Reach: Area of Effect and Building Range Kit

Branchmain
Commit0e0e03f17e

README.md

range (rangeKit)

The one interface a game uses: local Range = require("rangeKit.range"). It registers range sources (an aura, a coverage area, a supply range) in channels, answers deterministic queries about them (strength at a point combined by the channel's stack rule, the sources reaching a point strongest first, one source's cover, grid cells in range), defines custom shapes, falloffs, looks and channels, and draws local placement previews and channel or source overlays in eight looks through the rangeOverlay shader. Game code, the RangeSource component and UIs call it; see the package README for every call.