I've optimized the images to the right as well as I could, but the problem persists.
In addition, hovering has started to produce two hover sounds.
Code: Select all
screen chaptitles:
tag menu
style_prefix "chaptitles"
add "gui/chaps.png"
vbox:
xpos .17
ypos .12
spacing gui.navigation_spacing
frame:
vbox:
textbutton _(" + Editor's Preface") action Start("chap00") hovered ShowTransient("chapentry00") unhovered Hide("chapentry00")
text "{size=14} {/size}"
textbutton _(" 1: A Guest"):
if persistent.unlock_chap01:
action Start("chap01") hovered ShowTransient("chapentry01") unhovered Hide("chapentry01")
else:
action ShowTransient("chapentry01") hovered ShowTransient("chapentry01") unhovered Hide("chapentry01")
textbutton _(" 2: Drifting"):
if persistent.unlock_chap04:
action Start("chap04") hovered ShowTransient("chapentry02") unhovered Hide("chapentry02")
else:
action ShowTransient("chapentry02") hovered ShowTransient("chapentry02") unhovered Hide("chapentry02")
textbutton _(" 3: Descending"):
if persistent.unlock_chap06:
action Start("chap06") hovered ShowTransient("chapentry03") unhovered Hide("chapentry03")
else:
action ShowTransient("chapentry03") hovered ShowTransient("chapentry03") unhovered Hide("chapentry03")
textbutton _(" 4: The Story"):
if persistent.unlock_chap10:
action Start("chap10") hovered ShowTransient("chapentry04") unhovered Hide("chapentry04")
else:
action ShowTransient("chapentry04") hovered ShowTransient("chapentry04") unhovered Hide("chapentry04")
textbutton _(" 5: Discovery"):
if persistent.unlock_chap13:
action Start("chap13") hovered ShowTransient("chapentry05") unhovered Hide("chapentry05")
else:
action ShowTransient("chapentry05") hovered ShowTransient("chapentry05") unhovered Hide("chapentry05")
textbutton _("Return"):
style "chaptitles_return_button"
action Return()
style chaptitles_frame is empty
style chaptitles_vbox is vbox
style chaptitles_return_button is return_button
style chaptitles_return_button_text is return_button_text
style chaptitles_text is gui_text
style chaptitles_title is main_menu_text
style chaptitles_textbutton is navi_button
style chaptitles_return_button:
xpos 280
ypos 570
style chaptitles_frame:
xsize 320
yfill True
xpos 10
style chaptitles_vbox:
ypos 80
xmaximum 300
style chaptitles_text:
properties gui.text_properties("main_menu", accent=True)
style chaptitles_title:
properties gui.text_properties("title")
style chaptitles_textbutton_text:
idle_color '#778799'
hover_color '#90BCDD'
Code: Select all
screen chapentry:
tag menu
use chaptitles
style_prefix "chapentry"
frame:
vbox:
label " "
text " "
style chapentry_frame is empty
style chapentry_vbox is vbox
style chapentry_text is gui_text
style chapentry_label is entry_label
style chapentry_text:
xalign .5
size 21
font "fonts/Alegreya-Regular.ttf"
color "#9BB8FF"
ypos 400
style chapentry_frame:
xsize 420
xpos 685
yfill True
ymargin 100
style chapentry_label:
xsize 420
xalign .5
style chapentry_vbox:
xsize 400
xalign .5
style chapentry_label_text:
xalign .5
size 55
font "fonts/FoglihtenNo04-070.otf"
color "#9BB8FF"
Code: Select all
screen chapentry01:
use chaptitles
style_prefix "chapentry"
add "gui/overlay/ch1over.jpg" pos (650, 72)
frame:
label "A Guest"
vbox:
text "Chapter 1:"
text "In which Laura introduces her home and a mysterious guest arrives at the castle."