Log inGet started
World

Fruit Fly

Branchmain
Branchesmain
Commit83f1b94a81

README.md

experiments

The controls of the experiments panel: expToggle, expNext, expPrev, expRun and expCompare, each bound on keyboard, gamepad and touch or saying in its own record which class it deliberately has none of.

ControlKeyboardGamepadTouch
expTogglePSelectThe "Experiments" button, bottom right
expNextNRight stick pressTap the protocol
expPrevBNone: the list wrapsTap the protocol
expRunRRight triggerRUN
expCompareCLeft triggerCOMPARE

expNext and expPrev are the panel's focus ring: they move the focus through the five protocols, and the focused protocol is the selected one, so a pad reaches every protocol without an activate button. The list wraps, which is why expNext alone is enough on a pad and expPrev says in its own record that it has no pad binding: every other button on a pad already carries something in this world, including the whole D-pad, which is the bench's focus ring.

The map names no group, so opening the panel leaves the avatar's own controls live. FruitFlyExperiments activates it in awake and releases it in onDestroy.