Code: Select all
# A screen that's included by the default say screen, and adds quick access to
# several useful functions.
screen quick_menu:
# Add an in-game quick menu.
hbox:
style_group "quick"
xalign 1.0
yalign 1.0
ground "textbox.png"
hover "textbox1.png"
hotspot (495, 559, 69, 35) action ShowMenu('save'))
hotspot (572, 561, 61, 31) action ShowMenu('load')
hotspot (637, 560, 37, 28) action Skip()
hotspot (687, 560, 36, 24) action ShowMenu('preferences')
init -2 python:
style.quick_button.set_parent('default')
style.quick_button.background = None
style.quick_button.xpadding = 5
style.quick_button_text.set_parent('default')
style.quick_button_text.size = 12
style.quick_button_text.idle_color = "#8888"
style.quick_button_text.hover_color = "#ccc"
style.quick_button_text.selected_idle_color = "#cc08"
style.quick_button_text.selected_hover_color = "#cc0"
style.quick_button_text.insensitive_color = "#4448"
# Set a default value for the auto-forward time, and note that AFM is
# turned off by default.
config.default_afm_time = 10
config.default_afm_enable = False
I am getting an error code though...
Code: Select all
File "game/screens.rpy", line 517: u'ground' is not a keyword argument or valid child for the hbox statement.
ground "textbox.png"
^
Also I am having a bit of an issue trying to get the name to line up in the box correctly.