Eagle
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->
Eagle
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->TODO: describe this component.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2Eagle — the harpy eagle hunting the forest floor. Mounted once on `mount_eagle`. She is TWO things, and the second is the one the player reads. Above the lane a real bird circles: slate plumage, a barred belly, a split crest, a squared banded tail, five slotted primaries at each wingtip and talons the size of a goura's head. On the floor beneath her, exactly beneath her, lies her shadow — the same bird flattened onto the ground, in a pool of softer dark, and that pool IS her gaze. A goura standing in it, outside cover, once the light has begun to rise, is SEEN; a goura still standing in it a beat later is CAUGHT, and the bird comes down for her. Because the shadow and the gaze are one object, the rule the game scores on is the picture the player is already looking at. The telegraph is the same honesty carried further: as the gaze closes on her the pool's rim lights, and the eagle cries. Published as `FL.provide("eagle", …)`.
part(parent: any, name: string, mesh: any, mat: any, p: { number }, r: { number }?, s: { number }?) → void
Building the bird
| arg | type | description |
|---|---|---|
| parent | any | |
| name | string | |
| mesh | any | |
| mat | any | |
| p | { number } | |
| r | { number }? | |
| s | { number }? |
buildWing(parent: any, side: number, mat: any, list: { any }) → void
One wing, from the shoulder out. `side` is -1 for the bird's left.
| arg | type | description |
|---|---|---|
| parent | any | |
| side | number | |
| mat | any | |
| list | { any } |
buildBird(parent: any, name: string, plumage: any, list: { any }, talonList: { any }?) → void
| arg | type | description |
|---|---|---|
| parent | any | |
| name | string | |
| plumage | any | |
| list | { any } | |
| talonList | { any }? |
build( ) → void
ensure( ) → void
playCry(clip: any, volume: number, pitch: number) → void
Flying her
| arg | type | description |
|---|---|---|
| clip | any | |
| volume | number | |
| pitch | number |
setWings(flap: number, folded: number) → void
| arg | type | description |
|---|---|---|
| flap | number | |
| folded | number |
place(px: number, pz: number, dt: number) → void
| arg | type | description |
|---|---|---|
| px | number | |
| pz | number | |
| dt | number |
applyShade(light: number) → void
| arg | type | description |
|---|---|---|
| light | number |
awake( ) → void
Lifecycle
position( ) → void
gaze( ) → void
heat(x: number, z: number) → void
How near the gaze's centre a point is, 1 at the centre and 0 outside.
| arg | type | description |
|---|---|---|
| x | number | |
| z | number |
stooping( ) → void
onDestroy( ) → void
editorUpdate(dt: number) → void
| arg | type | description |
|---|---|---|
| dt | number |
update(dt: number) → void
| arg | type | description |
|---|---|---|
| dt | number |
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.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ 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".
Scoped to this part · feeds back into the world's score.