Log inGet started
World

Platform Playground: Moving, Crumbling and Bouncy Platforms Kit

README.md

SafetyNet

Catches players who fall off the level. Put it on one entity in a scene (or call PK.safetyNet(belowY)). Each machine watches its own player: once they drop below belowY (a world height, default -30), they are put back, standing still, on the last solid ground they stood on, or on respawnAt when it is set. Kit platforms never count as safe ground, because a crumbling tile or a moving platform may be gone by then. Needs no sibling components and gives players no health or lives.

Methods: rescues() (how many times this machine's player was caught), safePoint(), setSafePoint(p).