Log inGet started
World

Save Point

Branchmain
Branchesmain
Commit8937fc8d08

README.md

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.