Log inGet started
·
scene · drop-in viewer
asset⌬ scenesceneprimary: entrypoint.luau·originates fromworld 9e9e6b57-3…

main

No description provided.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 3mo ago
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.

conforms to

zero/source-extract/v2

scenes/main.scene/entrypoint.luau — the main scene's bootstrap. Loaded automatically when world.startup_scene = "scenes.main" (the world's .world_settings default). The engine auto-discovers this file as a sibling of scene.json; no explicit reference needed in scene.json.

Sub-parts

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

12items
◇
component · born here
❒asset
# RidgeCam A fixed-angle follow camera for platforming that has to play on a phone, a controller and a keyboard. The rig holds one heading and never turns. That is the point of it. `CharacterController` projects `move` against the active camera's forward and right onto the XZ plane, so a camera that never rotates turns camera-relative movement into **absolute screen-direction control**: the direction the stick points is the direction the character travels on screen, from every device, and no look input is needed to play. A steerable follow camera makes a phone player manage a second thumb to get anywhere; this one does not. It follows with damping, and it treats height differently from the ground plane: - **Ground** follow is a plain damped chase, `groundDamping` seconds to cover ~63% of the gap. - **Height** follows a stepped anchor. While the subject stays within `heightDeadZone` metres of the anchor the camera holds its level, so a jump moves the character in frame and leaves the world still. Clearing the band — arriving on a new storey — pulls the anchor, and the camera eases up over `heightDamping` seconds. Without this the frame lurches vertically on every hop, which reads worst on a small screen. The aim point leads the subject along its own horizontal velocity by `leadDistance`, read from `CharacterController`'s velocity telemetry rather than differenced from position, so the vertical arc of a jump never tilts the shot. Public fields: `follow`, `offset` (where the camera sits relative to the subject, in world axes), `aimHeight`, `leadDistance`, `groundDamping`, `heightDamping`, `heightDeadZone`. ## Attach through `Camera.behavior` ```luau local cam = entity(rigId).component.get("Camera") cam.behavior = asset.ref("RidgeCam", "component") ``` The Camera owns the behavior slot, which is what lets it tell the rig when `follow` changes. ## Player cameras: leave `follow` empty Entering play drops and respawns `PlayerPrototype` subtrees, so the body is recreated with a new entity id every time. Set the target on the **Camera** and leave this rig's `follow` empty: ```luau entity(rigId).component.get("Camera").follow = body ``` `PlayerPrototype` refreshes `Camera.follow` to the live body on every clone, and the rig reads that slot whenever its own `follow` is empty. Set `follow` only for a camera watching a fixed, non-respawning subject. ## Choosing the offset `offset` sets the viewing angle, and the angle sets how readable depth is. A steeper drop (a larger `y` relative to `z`) reads gaps along the depth axis more clearly and flattens the sense of height; a shallower one is more dramatic and makes depth harder to judge. The shipped default, `{0, 12, -13}`, is a ~42° look-down: close enough to a 45° isometric that a stick direction and a screen direction agree, without losing the vertical.
▲ 0↑ born
◇
component · born here
❒asset
# SunspireGame One-paragraph description of what this component does and what it attaches to. Mention any required sibling components (e.g. Model, Transform). ## Public fields - `exampleNumber: number` — what it controls, units, valid range. - `exampleString: string` — what it controls. - `exampleBool: boolean` — what it controls. ## Methods - `:methodName(arg)` — what it does and when to call it. ## Lifecycle - `awake()` — same-frame attach hook. What initial state this component sets up. - `start()` — first-frame-after-awake hook. Cross-component setup that needs the other components on the entity to have finished `awake`. - `update(dt)` — per-frame, play mode only. What this component does each tick. - `onDestroy()` — cleanup performed on detach / entity despawn. See `man components` for the full hook list (`onEnable`, `fixedUpdate`, `onPropertyChanged`, etc.) and the timing details. ## Usage ```luau entity(id).component.add("SunspireGame", { exampleNumber = 1.0 }) entity(id).component.get("SunspireGame"):methodName("foo") ```
▲ 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. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.