[RenPy] 纯文本查看 复制代码
screen preferences():
tag menu
use game_menu(_("设置"), scroll="viewport"):
add "lml"
add "gui/system/bg.png"
imagebutton:
idle "gui/system/r_l5b1.png"
hover "gui/system/r_l5b2.png"
xpos 1686
ypos 936
action Return()
imagebutton:
focus_mask True
idle "gui/system/sc_l1b2.png"
hover "gui/system/sc_l1b3.png"
insensitive "gui/system/sc_l1b3.png"
xpos 292
ypos 388
action SensitiveIf(not swindow),Preference("display", "window"),SetVariable("swindow",True),SetVariable("sfull",False)
imagebutton:
focus_mask True
idle "gui/system/sc_l2b2.png"
hover "gui/system/sc_l2b3.png"
insensitive "gui/system/sc_l2b3.png"
xpos 292
ypos 445
action SensitiveIf(not sfull),Preference("display", "fullscreen"),SetVariable("sfull",True),SetVariable("swindow",False)
imagebutton:
style_prefix "radio"
focus_mask True
idle "gui/system/rt_l1b2.png"
hover "gui/system/rt_l1b3.png"
insensitive "gui/system/sc_l1b3.png"
xpos 901
ypos 365
action Preference("rollback side", "disable")
imagebutton:
style_prefix "radio"
focus_mask True
idle "gui/system/rt_l2b2.png"
hover "gui/system/rt_l2b3.png"
insensitive "gui/system/sc_l2b3.png"
xpos 772
ypos 443
action Preference("rollback side", "left")
imagebutton:
style_prefix "radio"
focus_mask True
idle "gui/system/rt_l3b2.png"
hover "gui/system/rt_l3b3.png"
insensitive "gui/system/sc_l3b3.png"
xpos 967
ypos 443
action Preference("rollback side", "right")
imagebutton:
focus_mask True
idle "gui/system/skip_l1b2.png"
hover "gui/system/skip_l1b3.png"
xpos 1450
ypos 365
if sk1:
action SelectedIf(not sk1),Preference("skip", "toggle"),SetVariable("sk1",False)
else:
action SelectedIf(not sk1),Preference("skip", "toggle"),SetVariable("sk1",True)
imagebutton:
focus_mask True
idle "gui/system/skip_l2b2.png"
hover "gui/system/skip_l2b3.png"
insensitive "gui/system/skip_l2b3.png"
xpos 1450
ypos 419
action Preference("after choices", "toggle")
imagebutton:
focus_mask True
idle "gui/system/skip_l3b2.png"
hover "gui/system/skip_l3b3.png"
insensitive "gui/system/skip_l3b3.png"
xpos 1408
ypos 473
action InvertSelected(Preference("transitions", "toggle"))
imagebutton:
focus_mask True
idle "gui/system/r_l1b1.png"
hover "gui/system/r_l1b2.png"
xpos 1687
ypos 726
action MainMenu()
imagebutton:
focus_mask True
idle "gui/system/r_l2b1.png"
hover "gui/system/r_l2b2.png"
xpos 1687
ypos 771
action ShowMenu("about")
imagebutton:
focus_mask True
idle "gui/system/r_l3b1.png"
hover "gui/system/r_l3b2.png"
xpos 1687
ypos 815
action ShowMenu("load")
imagebutton:
focus_mask True
idle "gui/system/r_l4b1.png"
hover "gui/system/r_l4b2.png"
xpos 1687
ypos 861
action ShowMenu("save")
imagebutton:
focus_mask True
idle "gui/system/muteall_1.png"
hover "gui/system/muteall_1.png"
xpos 1245
ypos 950
action Preference("all mute", "toggle")
bar value Preference("text speed"):
left_bar Frame("gui/bar/left.png",gui.bar_borders,tile=gui.bar_tile)
right_bar Frame("gui/bar/right.png",gui.bar_borders,tile=gui.bar_tile)
thumb "star"
thumb_offset 22
xpos 305
ypos 770
xsize 467
ysize 23
bar value Preference("auto-forward time"):
left_bar Frame("gui/bar/left.png",gui.bar_borders,tile=gui.bar_tile)
right_bar Frame("gui/bar/right.png",gui.bar_borders,tile=gui.bar_tile)
thumb "star"
thumb_offset 22
xpos 305
ypos 919
xsize 467
ysize 23
bar value Preference("music volume"):
left_bar Frame("gui/bar/left.png",gui.bar_borders,tile=gui.bar_tile)
right_bar Frame("gui/bar/right.png",gui.bar_borders,tile=gui.bar_tile)
thumb "star"
thumb_offset 22
xpos 1087
ypos 713
xsize 467
ysize 23
bar value Preference("sound volume"):
left_bar Frame("gui/bar/left.png",gui.bar_borders,tile=gui.bar_tile)
right_bar Frame("gui/bar/right.png",gui.bar_borders,tile=gui.bar_tile)
thumb "star"
thumb_offset 22
xpos 1087
ypos 826
xsize 467
ysize 23
bar value Preference("voice volume"):
left_bar Frame("gui/bar/left.png",gui.bar_borders,tile=gui.bar_tile)
right_bar Frame("gui/bar/right.png",gui.bar_borders,tile=gui.bar_tile)
thumb "star"
thumb_offset 22
xpos 1087
ypos 914
xsize 467
ysize 23