Log inGet started
World

Lantern Depths: Find the Shade Dash, Slay the Thorn Knight

Branchmain
Branchesmain
Commitda5ac13948

README.md

safeGround2D.api

Hazard respawn on the last safe ground for twoDKit players. SG.track(body, state, now) each frame remembers solid footing (grounded, not dashing or slamming, not beside spikes) and keeps a private Trapline checkpoint there; SG.moveTo(x, y) sets the respawn point yourself (a bench); SG.lastSafe(), SG.footing(state), SG.isSafeSpot(x, y), SG.configure({ interval, margin }), SG.stop(). Called by the SafeGround2D component, or by a kit that runs its own frame loop (sideScrollerKit).