Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·originates fromworld 47b50fcd-5…

GbButtons

Put on the Game Boy model's root entity beside a `RetroStation`. Each frame it reads the held buttons from the station's shared `pad` and presses the matching control model (children named `btn_dpad`, `btn_a`, `btn_b`, `btn_start`, `btn_select`) into the shell along the console's…

by◐Deata·posted 3d ago
What it does

GbButtons

Put on the Game Boy model's root entity beside a RetroStation. Each frame it reads the held buttons from the station's shared pad and presses the matching control model (children named btn_dpad, btn_a, btn_b, btn_start, btn_select) into the shell along the console's face (-Z of the root), easing back on release. The d-pad also rocks toward the held direction about dpadPivot.

ControlKeys
d-padarrows or WASD
AZ or J
BX or K
StartEnter
Selectright Shift or Backspace

Fields: pressDepth (units the button sinks), tiltDegrees (d-pad rock), response (how fast it follows, per second), dpadPivot (the d-pad's centre on the face, in the root's frame). Local only: each person sees their own presses, as the emulator is local. Nothing moves while a text field has focus.

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

findParts( ) → void

approach(current: number, target: number, dt: number) → number

argtypedescription
currentnumber
targetnumber
dtnumber

padBits( ) → number

on(pad: number, bit: number) → boolean

argtypedescription
padnumber
bitnumber

awake( ) → void

update(dt: number) → void

argtypedescription
dtnumber

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.