Log inGet started
World

Trapline: Checkpoints, Hazards and Lives Kit

README.md

checkpoints

The six checkpoint looks of Trapline, keyed by id: flag (cartoon), campfire (fantasy), beacon (sci-fi), crystal (fantasy), bell (pixel) and teleporter (sci-fi). Each entry has build(root, cfg), which makes the look out of Trapline.parts primitives, and animate(h, cfg, k, t, dt, current), which poses and colours it for activation k (0 = not reached, 1 = reached, in between = the activation moment), idle time t and the player's-current-checkpoint highlight.

Called by the Trapline.Checkpoint component; pick a look with its look setting. Every look faces +Z, stands on y = 0 inside a 1.5 m radius, and is clearly different before and after it is reached (colour, light and shape).