Imagemap:
Code: Select all
# Bedroom
screen weekday_morning:
key "dismiss" action [[]]
imagemap:
ground "BG/Hiro's Bedroom.png"
hover "BG/Hiro's Bedroom w.png"
hotspot (192,375,100,100) clicked Jump("sleep_in")
hotspot (409,482,100,100) clicked Jump("morning_out")
Code: Select all
screen open_information:
vbox xalign 1.0 yalign 0.0:
textbutton "Stats" action Show("aff_screen")
Code: Select all
screen aff_screen:
frame:
yalign 0.0
xalign 0.5
vbox:
label "Statistics" xalign 0.5
hbox:
label "Intelligence" xminimum 150
bar range int_max value int_pt xmaximum 400
hbox:
label "Fitness" xminimum 150
bar range fit_max value fit_pt xmaximum 400
hbox:
label "Social" xminimum 150
bar range soc_max value soc_pt xmaximum 400
hbox:
label "Art" xminimum 150
bar range art_max value art_pt xmaximum 400
hbox:
label "Stress" xminimum 150
bar range stress_max value stress_pt xmaximum 400
hbox:
xalign 0.5
textbutton "{size=18}Return{/size}" action Hide("aff_screen")
Code: Select all
label start:
show screen weekday_morning
show screen open_information
return
But if I call the screen weekday_morning, then it will be over the screen open_information (meaning I can't see the imagebutton.)
Can anyone point me in the right direction, please?
Thanks for reading ^_^
And thank you in advance. ^^"