·
scene · drop-in viewer
What it does
No description provided yet.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
This asset doesn't declare a schema or structured payload.
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.
41+items
# game.Game
The shared interface of **Amagiri: Hollow Bell**. Every part of the game talks
through this module and nothing else.
```lua
local Game = require("game.Game")
```
It holds:
- **the anchors** — `Game.ANCHORS`, `Game.CLIFF_PATH`, `Game.WATER_LEVEL`,
`Game.FLOOD_FLOOR`: one set of world coordinates the valley builds to and the
cast stands on.
- **the vocabularies** — `Game.EMOTION`, `Game.RESONANCE`, `Game.ENDING`,
`Game.CHARACTERS`.
- **the run state** — resonances held, how far the Fading has advanced,
per-character flags, and the ending, mutated through `grantResonance`,
`setFading`, `endRun`, `resetRun`.
- **an event bus** — `Game.on(event, fn)` returning an unsubscribe, and
`Game.emit(event, payload)`.
- **three registries** — interactables (what the player can walk up to),
dialogue scripts, and character portraits.
- **the mounting** — `Game.boot()`, `Game.rebuild(slice)`, `Game.tick(dt, mode)`,
called by the scene's entrypoint.
It owns no entities, no UI and no behaviour. It is the contract.
▲ 0↑ born
▲ 0↑ born
▲ 0↑ born
# WanderCam
The Wanderer's third-person camera: a damped orbit around the body it follows,
with a spring arm, a lead on movement, and a focus pose a conversation can
borrow.
Put it on a camera rig's `Camera.behavior`. It never places a camera of its
own — it poses the entity it is on.
## Framing
Three rings around the follow target, each with a `height` above the target's
origin and a `radius` out from its axis. `verticalAxis` slides the camera along
the spline through them (0 at `ringBottom`, 1 at `ringTop`) and
`horizontalAxis` orbits, so a low wide look-up and a high tight look-down are
geometry you can see rather than angle limits you cannot. `radiusScale` zooms
between `minRadiusScale` and `maxRadiusScale`.
Writing any of these re-poses the rig immediately with the damping bypassed, so
edit mode shows the shot play mode will produce.
## Lead
The aim point slides ahead of the body along its own travel: up to
`leadDistance` at `leadSpeed`, eased over `leadTau` seconds. Walking opens the
view in the direction being walked; standing still settles it back onto the
body.
The travel is differenced off the target's position rather than read from a
movement component, so this follows anything that moves.
## Focus
```lua
cam.focus = { active = true,
position = { x = 0, y = 2, z = -3 },
lookAt = { x = 0, y = 1.5, z = 0 },
fov = 36 }
cam.focus = {} -- give the camera back
```
While `focus.active` is set the rig eases to that pose and that aim over
`focusTau` seconds instead of orbiting, and the `Camera`'s field of view eases
to `focus.fov`. Look input is dropped rather than accumulated while the focus
holds, so releasing does not swing the view by everything the mouse did in the
meantime. Clearing it eases back to the orbit and to `baseFov`.
## Controls
`inputMap` names the scheme this camera answers to — `look` orbits, `zoom`
scales the rings. Point it at a world's own map to rebind either without
touching this component.
▲ 0↑ born
▲ 0↑ born
▲ 0↑ born
▲ 0↑ born
# Mesh
Mesh asset. `data.zmsh` is the engine-native geometry payload (`renderer.mesh.encode`); consumers reference the asset's guid.
▲ 0↑ born
# Texture
Managed texture asset. `data.ztex` is the encoded payload the renderer uploads; compression settings live in the `.metadata` `settings` block (edit to re-encode).
▲ 0↑ born
▲ 0↑ born
▲ 0↑ born
# Mesh
Mesh asset. `data.zmsh` is the engine-native geometry payload (`renderer.mesh.encode`); consumers reference the asset's guid.
▲ 0↑ born
# Texture
Managed texture asset. `data.ztex` is the encoded payload the renderer uploads; compression settings live in the `.metadata` `settings` block (edit to re-encode).
▲ 0↑ born
▲ 0↑ born
▲ 0↑ born
# Mesh
Mesh asset. `data.zmsh` is the engine-native geometry payload (`renderer.mesh.encode`); consumers reference the asset's guid.
▲ 0↑ born
# Texture
Managed texture asset. `data.ztex` is the encoded payload the renderer uploads; compression settings live in the `.metadata` `settings` block (edit to re-encode).
▲ 0↑ born
backing path · scenes/main.scene
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
+ 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.