Which means I can move to different rooms (screens) from all the locations. No problem there.
I then have different objects/persons that can be clicked on.
Example on code.
Code: Select all
label RoomA:
if dayTime == 0:
scene RoomADay
if dayTime == 1:
scene RoomADay
if dayTime == 2:
scene RoomADay
if dayTime == 3:
scene RoomADusk
if dayTime ==4:
scene roomANight
show screen RoomAClick
return
screen RoomAClick:
modal True
imagebutton:
idle "gui/roomClicks/bedNothing.png"
hover "gui/roomClicks/bedHover.png"
focus_mask True
action Confirm("Sleep?", yes = Call("bedsleep2"))
imagebutton:
idle "gui/roomClicks/laptop.png"
hover "gui/roomClicks/laptopHover.png"
focus_mask True
action ui.callsinnewcontext("...")
Works as intended.
Now my problem is. This seems like it is extremely annoying once you get more rooms and more stuff to interact with.
So example 7 rooms. 10 different stuff to interact in one of the rooms. Which means that all 6 other rooms need to start with "hide screen bla bla" in all the rooms?
so 70 times its needed to write hide stuff. And that is just for 10 stuff in one room to interact with.
So basically I'm asking. Is there a good way to hide/close screens when switching to another screen, so you don't have to write hide screen in all the different locations?
Hope my question was clear enough.