This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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!!!!!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#config_version=5 | |
# This mode detects collisions on our joystick target. It emits these | |
# 5 events for each of the different collisions that can occur: | |
# joystick_left_hit | |
# joystick_diagonal_left_hit | |
# joystick_up_hit | |
# joystick_diagonal_right_hit | |
# joystick_right_hit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BlinkManager { | |
constructor(displayObj, changeFunc1, changeFunc2, changeFuncEnd, rate, duration){ | |
this.displayObj = displayObj; | |
this.changeFuncEnd = changeFuncEnd; | |
this.duration = duration; | |
this.rate = rate; | |
this.blinkCount = 0; | |
this.totalCount = 0; | |
this.last = changeFunc2; | |
this.next = changeFunc1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; Hydra for quickly switching among the 8 most recent buffers | |
;;;; by using the home row keys. | |
;; This is the command that toggles the hydra. | |
;; Change the keybinding if you like | |
(global-set-key (kbd "C-c j") 'hydra-bswitch/body) | |
(defvar bswitch-map (list 1 "a" | |
2 "s" | |
3 "d" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<p><span>S</span>yntactically</p> | |
<p><span>A</span>wesome</p> | |
<p><span>S</span>tyle</p> | |
<p><span>S</span>heets</p> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Use Math Operators Anywhere!</h1> | |
<div class="row"> | |
<div class="column grid_12"><p>12</p></div> | |
</div> | |
<div class="row"> | |
<div class="column grid_6"><p>6</p></div> | |
<div class="column grid_6"><p>6</p></div> | |
</div> |
NewerOlder