Skip to content

Instantly share code, notes, and snippets.

Created February 17, 2015 04:32
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 anonymous/423b812224507fb1207a to your computer and use it in GitHub Desktop.
Save anonymous/423b812224507fb1207a to your computer and use it in GitHub Desktop.
screen preferences:
zorder 200
drag:
drag_name "drag_prefs"
drag_handle (0,0,1.0,1.0)
xalign 0.5 yalign 0.5
imagemap:
ground "UI/preference_base.png"
hover "UI/preference_hover.png"
selected_idle "UI/preference_activebase.png"
selected_hover "UI/preference_activehover.png"
hotspot (555, 112, 330, 64):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action (Hide('preferences'),SetVariable("show_preferences",False))
hotspot (68, 242, 143, 24):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action [ Preference("display", "window"), SelectedIf(not _preferences.fullscreen) ]
hotspot (68, 281, 178, 24):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action Preference("display", "fullscreen")
hotspot (68, 360, 232, 24):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action Preference("skip", "seen")
hotspot (68, 400, 163, 24):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action Preference("skip", "all")
hotspot (68, 490, 198, 24):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action Preference("after choices", "skip")
hotspot (68, 527, 199, 24):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action Preference("after choices", "stop")
hotspot (475, 470, 200, 27):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action SetVariable("difficulty", 0)
hotspot (475, 560, 222, 27):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action SetVariable("difficulty", 1)
hotspot (475, 635, 240, 27):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action SetVariable("difficulty", 2)
hotspot (475, 710, 195, 27):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action SetVariable("difficulty", 3)
hotspot (475, 762, 310, 27):
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
action SetVariable("difficulty", 4)
bar:
xpos 68
ypos 620
xmaximum 300
value Preference("text speed")
bar:
xpos 68
ypos 720
xmaximum 300
value Preference("auto-forward time")
bar:
xpos 505
ypos 239
xmaximum 300
value Preference("music volume")
bar:
xpos 505
ypos 355
xmaximum 300
value Preference("sound volume")
if CENSOR == False:
add "UI/showblood_text.png" xpos 486 ypos 832
imagebutton:
idle "UI/showblood_no.png"
hover "UI/showblood_hover.png"
selected_idle "UI/showblood_yes.png"
selected_hover "UI/showblood_hoveryes.png"
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
xpos 664 ypos 832
action ToggleVariable("blood", true_value=True, false_value=False)
add "UI/quickactivities_text.png" xpos 50 ypos 832
imagebutton:
idle "UI/showblood_no.png"
hover "UI/showblood_hover.png"
selected_idle "UI/showblood_yes.png"
selected_hover "UI/showblood_hoveryes.png"
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
xpos 290 ypos 825
action ToggleVariable("quickact", true_value=True, false_value=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment