Skip to content

Instantly share code, notes, and snippets.

#config_version=5
# This defines our display. New slides will automatically be placed
# here since this is the only display.
displays:
window:
width: 800
height: 240
# This section defines some common widget settings so we don't
# This section defines a machine variable called 'display_text'
machine_vars:
display_text:
initial_value: '!!!!!!!!!!!!!!!!'
value_type: str
persist: False
widgets:
display_text:
- type: text
# This section defines a machine variable called 'display_text'
machine_vars:
display_text:
initial_value: '!!!!!!!!!!!!!!!!'
value_type: str
persist: False
widgets:
display_text:
- type: text
# This section defines a show called 'left_to_right'. Each step in the
# show sets the 'display_text' variable to a new value. We didn't
# specify a duration for the steps so each step will run for the
# default duration of 1 second.
shows:
left_to_right:
- variables:
display_text:
action: set_machine
string: 'PRESS!START!!!!!'
window:
width: 800
height: 240
# This applies the glow shader to our display. You can read more
# about the settings for this effect here:
# http://docs.missionpinball.org/en/dev/displays/widgets/display/effects.html?highlight=glow#settings-for-glow-effect
effects:
- type: glow
blur_size: 5.0
intensity: .6