Bind a light show to a switch

Bind a light show to a switch

You’ll build a minimal light show, watch it in the preview, then attach it to a device so hitting that device plays it.

  1. Open the Lightshow Editor and click New… in the toolbar’s Show section. Name it and pick clip mode with a short duration — a clip is what you want for a one-shot hit reaction.
  2. Add a Solid or Gradient source from the palette (type its name in the filter, then press 1).
  3. Add an Output node and wire the source into it. Set its target layout — without an Output pointing at a layout, nothing renders.
  4. Watch the LED preview panel. Adjust the source’s color inline on the node until it looks right.
  5. Switch to the Object Editor (E), right-click the device you want to trigger it, and choose Bind asset…. Pick your show from the browser.

You should see — the preview animate as you edit in step 4, and the show play on the cabinet’s LEDs when a ball hits that device.

To drive a parameter from game state rather than holding it constant, click a param’s ƒ button and use Modulate… — either a Cade expression over var.* or a wire from another node’s output. Turn on Follow 3D selection in the ⚙ Options menu and selecting a lamp in the object editor will highlight its matching nodes here.