Skip to content

Instantly share code, notes, and snippets.

@seanirby
Last active June 22, 2020 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanirby/60a3599a6260a1020ae24c31c0a6fbda to your computer and use it in GitHub Desktop.
Save seanirby/60a3599a6260a1020ae24c31c0a6fbda to your computer and use it in GitHub Desktop.
# 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!!!!!'
- variables:
display_text:
action: set_machine
string: '!PRESS!START!!!!'
- variables:
display_text:
action: set_machine
string: '!!PRESS!START!!!'
- variables:
display_text:
action: set_machine
string: '!!!PRESS!START!!'
- variables:
display_text:
action: set_machine
string: '!!!!PRESS!START!'
- variables:
display_text:
action: set_machine
string: '!!!!!PRESS!START'
- variables:
display_text:
action: set_machine
string: '!!!!PRESS!START!'
- variables:
display_text:
action: set_machine
string: '!!!PRESS!START!!'
- variables:
display_text:
action: set_machine
string: '!!PRESS!START!!!'
- variables:
display_text:
action: set_machine
string: '!PRESS!START!!!!'
# This section tells MPF to start our show above when the 'init_done'
# event is fired. This event is fired shortly after our game starts.
show_player:
init_done:
left_to_right:
# We multiply the speed of our show so it runs 10 times as fast
speed: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment