Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 7f138801-7…

wanderer

The wanderer part's entry for the valley's scene driver (build, update, destroy), the shared state other parts read (player, tagEntities, tagsVersion) and setupPrototype, which makes a PlayerPrototype the wanderer's.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 2d ago
What it does

wanderer

The wanderer part's entry for the valley's scene driver (build, update, destroy), the shared state other parts read (player, tagEntities, tagsVersion) and setupPrototype, which makes a PlayerPrototype the wanderer's.

Ported from blendi/painted-valley on Patch (MIT).

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

strict

AssetCameraAudioListener

refreshObstacles(v: any) → void

argtypedescription
vany

useGround(v: any) → void

argtypedescription
vany

context( ) → any

The valley context for a body that finds no scene driver (a test scene): core and the world, the original's wind and the afternoon light.

build(v: any) → void

argtypedescription
vany

update(v: any, _dt: number) → void

argtypedescription
vany
_dtnumber

destroy(_v: any) → void

argtypedescription
_vany

setThird(on: boolean) → void

First person or third (V). Either way you are where you were, looking where you looked.

argtypedescription
onboolean

standAt(x: number, z: number, yaw: number) → void

Stands the local wanderer at a place, facing a way (his yaw: 0 looks along +z), still.

argtypedescription
xnumber
znumber
yawnumber

setTags(id: string, tags: { any }?) → void

(the body component keeps the tag list: its own parts while it lives)

argtypedescription
idstring
tags{ any }?

setupPrototype(body: any, rig: any) → void

Makes a PlayerPrototype the wanderer's, from a scene's build.luau: `body` and `rig` are the prototype's body entity and its CameraRig (a Camera entity, OwnerOnly). The body becomes Patch's starter man (an `Asset` on figure/starter_man.bundle) wearing the `Wanderer` component; the rig's Camera behaviour becomes `Follow` at the third person's FOV 52, and it carries the ears (an AudioListener) for his footsteps. local W = require("paintedValley.wanderer.wanderer") W.setupPrototype(body, rig)

argtypedescription
bodyany
rigany

drop(e: any, name: string) → void

argtypedescription
eany
namestring
⌬ Metadata
descriptionThe wanderer part's entry for the valley's scene driver (build, update, destroy), the shared state other parts read (player, tagEntities, tagsVersion) and setupPrototype, which makes a PlayerPrototype

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

Showing up to 3 levels deep. Open a part to see what it holds further down.

51+items
▣
module · born here
❒asset
# colliders What the wanderer collides with, as main.js builds it for Rapier: the valley's heightfield (core.groundAt) and the trees' and stones' cylinders, with the kinematic move and the downward ray the player and the foot placement use. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
◇
component · born here
❒asset
# Wanderer (component) The body of a Painted Valley player: put it on the PlayerPrototype's body entity beside an `Asset` on `paintedValley.wanderer.figure.starter_man`. It dresses Patch's starter man (cel paint, straw hat, blue cloak) and poses him every frame: the local player's from main.js's walker (third person with the figure's player, animator, foot placement and cloth; first person with V), every other player's from their peer's avatar channel. Ported from blendi/painted-valley (MIT): src/valley/main.js, src/figure/*, src/valley/wanderer.js, src/valley/sounds.js.
▲ 0↑ born
▣
module · born here
❒asset
# animator Port of figure/animator.js: phase-synced locomotion blends, one-shot starts, stops, turns and jumps, idle variations, even spine, upright posture, relaxed hands, look toward the camera, arm clearance, lean into turns and two-bone foot IK on the ground. Used by the Wanderer component. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# paintedValley.world The land of Painted Valley (port of blendi/painted-valley src/valley/world.js, MIT): heightAt, land, paint/paintAt, pathDistance, tarnDistance, riverDistance, fieldsAt, forestAt, fbm, ridged and the valley's fixed places (HERO, START, TREE, VILLAGE, TARN). Bit-exact with the original (integer hash included). Every part uses it for CPU placement; the GPU twin is paintedValley.core.valleyLand.
▲ 0↑ born
❒
bundle · born here
❒asset
▲ 0↑ born
▣
module · born here
❒asset
# man Patch's starter man (port of figure/man.js): reads the rig of figure/starter_man.bundle and the tracks of every clip in figure/starter-man-clips_anims once per engine, keeps root travel as `motion`, and `rootAt` samples a clip's root. Used by the animator and the player. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# paintedValley.core.core What every part of Painted Valley shares: the field's maps baked on the GPU (tHeight with the slope, tMap), the noise (exact port of lib/noise.js), the shared light and fog uniforms with the original's names, and a registry that pushes them and binds the shared textures into every valley material (core.material / core.register / core.set / core.setTexture / core.groundAt / core.bake). Called by the Valley driver and every part.
▲ 0↑ born
◇
component · born here
❒asset
# Follow (component) The wanderer's camera behaviour, for the PlayerPrototype's CameraRig (`Camera.behavior`). Third person: the Follow camera of Painted Valley's figure/camera.js, well back from the wanderer and a little to one side, FOV 52. First person (V): his eye, 1.68 m up, with the walk's bob and the landing's dip, FOV 68. The local player's `Wanderer` works out the shot; this places the camera there.
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
△
mesh · born here
❒asset
▲ 0↑ born
△
mesh · born here
❒asset
▲ 0↑ born
△
mesh · born here
❒asset
▲ 0↑ born
△❒asset
▲ 0↑ born
△
mesh · born here
❒asset
▲ 0↑ born
△
mesh · born here
❒asset
▲ 0↑ born
△
mesh · born here
❒asset
▲ 0↑ born
·
rig · born here
❒asset
▲ 0↑ born
backing path · paintedValley/wanderer/wanderer.module

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.