Skip to reading
GUI: Knobs, Dials and Gauges

When an instrument feels wrong

Edition 0.86.4.5

New 0.86.4.5 field guide. Rotary Value bindings use Raw JSON in this edition. Clock hands are independent; running-clock or geared behavior is authored separately. Examples can be built in an existing project; the optional workbench is part of the PCA3D source package.

Download PDFView PDF page
On this page

REFERENCE / TESTING IN RUNTIME PREVIEW

Source table from When an instrument feels wrong, page 11
What you seeCheck this first
The readout starts at 96 but the puzzle reads 0.Write value to variable runs on a change. Initialize the game variable to 96, or use a primary value binding that reads its starting value.
The minute hand moves when I want the hour.Start near the tip of the shorter hand, away from center. For overlapping hands, focus the clock and cycle with Up / Down before turning.
The clock never reaches 60.With wrapping enabled, maximum wraps to minimum. Compare minutes to 0 for the top of the hour.
I cannot choose OK.Check for duplicate or blank hand IDs, max ≤ min, negative step, out-of-range initial values, a zero sweep or a pivot at the edge.
The phone returns but the puzzle ignores it.Test hole 1 first. Reach the stop before release and wait for return before starting again. Bind the graph to Dialed. Compare digit to a string.
I can see the gauge but it never changes.Check the source variable ID, the value binding and its one_way direction. Change the source in Preview. A per-hand output alone cannot drive a display.
The stick changes the wrong instrument.Look for the focus ring, enable Joystick input and release the stick to center. Check GUI focus navigation if the ring never arrives.

One final pass#

Tune the radio up and back. Change pressure from a room action. Move two different clock hands and turn one across noon. Dial one wrong sequence, one abandoned digit, then one correct sequence. Repeat your game’s critical puzzle on each device you plan to support.

Trace a mystery event#

Open Output & Diagnostics → Debug & Profile, choose Trace, start a capture and perform one turn. In Events, filter for GUI.turn or GUI.dialed. Follow the trace number through the graph to the resulting action.

Page 11 of 11Permalink
Go to page