▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage viewClear.package·originates fromworld bca4ed8d-6…
view
The logic behind the ViewClear component, usable on its own: `V.new()` makes a state, `V.step(state, opts, dt)` hides what is in the way this frame and shows what has been clear long enough, `V.showAll(state)` shows everything again. `V.segmentHitsBox` and `V.isSmall` are the two…
by·posted 3d ago
What it does
view
The logic behind the ViewClear component, usable on its own: V.new() makes a state, V.step(state, opts, dt) hides what is in the way this frame and shows what has been clear long enough, V.showAll(state) shows everything again. V.segmentHitsBox and V.isSmall are the two tests it uses. Called by viewClear.ViewClear, or by a level that drives its camera itself.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.