Disappearing screen problem
Posted: Sat Sep 22, 2018 8:35 am
Hi all. I have added a time system in renpy and would like to show it at all times at the top left of the screen. I have made two simple room to room navigation screens to click on the doors to enter each room. The problem is as soon as the first navigation screen appears the 'dayperiod' screen (showing the day/time) disappears and stays "disappeared".
Does anybody know where I am going wrong? I'm still very new to renpy and have no previous game development experience. The user docs are still looking a foreign language to me.
Here is my code...
Does anybody know where I am going wrong? I'm still very new to renpy and have no previous game development experience. The user docs are still looking a foreign language to me.
Here is my code...
Code: Select all
screen dayperiod:
hbox:
textbutton "{b}Day: [clock.day]{/b} [clock.weekday] [clock.time]"
textbutton "{b}Rest{/b}" action Call("rest")
label rest:
$ clock.advance()
jump hall
screen hallnav:
add "hall.png"
imagebutton auto "toroom_%s.png" focus_mask True action Jump ("room")
screen roomnav:
add "room.png"
imagebutton auto "tohall_%s.png" focus_mask True action Jump ("hall")
label start:
show screen dayperiod
"bla bla bla"
label hall:
hide screen roomnav
call screen hallnav
label room:
hide screen hallnav
call screen roomnav