I've seen how others have created new layers to do this with images
Code: Select all
define config.layers = ['bg', 'travelmap', 'master', 'transient', 'screens', 'overlay']
but what is the statement I use to show a screen on the travelmap layer? I want it to still be interactable, but it appears underneath the sprites. To my understanding, images can just be
Code: Select all
show "image.png" onlayer travelmap
and screens can just be
Code: Select all
$ renpy.call_screen("dumb_screen", _layer="travelmap")
but what if my screen takes args? where do those go? I figured they would go like this, and it looks like I'm right
Code: Select all
$ renpy.show_screen("location_list",day0map1,_layer="travelmap")
so why do I still end up with bits of screen in my character's hair?
Edit: Figured it out
Code: Select all
textbutton l["place"] action [Show("location_photo", photo=l["photo"]), Show("icon_photo1", icon1=l["icon1"], _layer="travelmap"), Show("icon_photo2", icon2=l["icon2"], _layer="travelmap"), Show("sub_location_list",actions=l["actions_list"])]
The earlier bit of code did in fact move the "location_list" screen go to the travelmap layer, just not the screens that it links to. I just went into the code of the location_list screen and added the layer kwarg to the Show() action.
I'll leave this here in case anyone finds it useful.