Code: Select all
screen receptionArea():
modal True
zorder 100
use locationDateTimeScreen("Reception","Wed 27 May",0)
Code: Select all
screen locationDateTimeScreen(l,d,t):
zorder 1000
fixed:
xalign 0.0
yalign 0.0
fit_first True
add "gui/AreaDateTimeBorder.png"
imagebutton idle "gui/button.png" hover "gui/button.png" action ToggleScreen("statOverlay") xalign 0.0 yalign -9.5
text l xalign 0.03 yalign 0.25 font "fonts/SHOWG.ttf" size 52
text d xalign 0.93 yalign 0.25 font "fonts/SHOWG.ttf" size 52
if t==0:
add "gui/morningicon.png" xalign 0.995 yalign 0.1
elif t==1:
add "gui/middayicon.png" xalign 0.995 yalign 0.1
else:
add "gui/eveningicon.png" xalign 0.995 yalign 0.1
Code: Select all
screen statOverlay():
zorder 200
fixed:
xalign 0.0
yalign 0.0
fit_first True
add "gui/statmenu.png"
Code: Select all
screen btn():
zorder 100
textbutton "open" action ToggleScreen("scr") text_color "#000"
screen scr():
zorder 10
add Solid("#FFF", xysize=(100,30))
A few things I've checked:
- None of my screens have been appended to config.overlay_screens.
- I am not using layers.
- Setting the zorder of statOverlay below 100 does correctly hide it behind receptionArea but as soon as it is 100 or greater it's once again on top of everything.