◇
component · drop-in viewer
PenguinArt
The rockhopper's body, mounted. It sits on `mount_penguin` in `scenes.main`.
by·posted 1mo ago
What it does
PenguinArt
The rockhopper's body, mounted. It sits on mount_penguin in scenes.main.
What it owns
- The meshes, the wear maps and the ten materials the bird is made of, built
once per session through
luteway.penguin.pgart. LW.provide.makePenguin— the slotluteway.climb.Penguinreaches for the first frame it needs a pose. Every body carrying aPenguingets dressed through it, the local player's and every joining player's alike.- The pose clock: the squash of a landing, the stretch of a launch, the waddle, the flipper flap, the lean into a wall, the wet flail of a shake, and the lute thickening on the feet as the stickiness climbs.
Fields
body: string(default"penguin") — the name of the body entity the bird is built on when nothing is playing. In edit there is no local player, only the prototype body the scene carries; this is how it gets dressed anyway, so the bird is there to look at without pressing play.
Notes
updateandeditorUpdateboth drive the pose, andeditorUpdatereturns early unless the gameplay clock is held — otherwise the two would tick the same body twice in one frame and the bird would animate at double speed.- A module reload hands the component a fresh
pgartwhose rig table is empty while the parts the previous one spawned are still standing under the body. Once a second, an empty rig table and a body still standing is the signal to dress it again;pgart.makeclears the orphan parts as it rebuilds. That is why the bird does not freeze mid-pose when a neighbouring slice edits something this one depends on. - Removing the component clears every rig and releases the provide slot.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.