Ren'Py Need help with screens

Aug 2, 2017
75
311
I need a way to have 2 screens up at the same time. I have my navigation screen to change locations but i also have an image map i want to display in the background to click on objects in the current environment. Below is what im working with. It in a bedroom. The imagemap is the bedroom background but i have a hidden object i want to be clickable while the navigation menu is called. Any way I can display both of these?

label ep1aprilroom_e:
scene ep1_aprilroom
mc normal "April isn't home right now. She'll be back in a little bit."
call screen nav_ui

screen ep1aprilmag:
imagemap:
ground "ep1_aprilroom.png"
hover "ep1_aprilroom_maghover.png"
hotspot (491,540,113,54) action Jump("ep1_aprilroom_mag")
 

smix8

Newbie
Sep 14, 2016
48
286
Great that you made it work!
If for whatever reason you require "modal True" on a screen you can also try the renpy as it allows a screen to include another.

Code:
screen nav_ui:  
    
    ...
    
screen ep1aprilmag:
    
    modal True
    
    use nav_ui
    
    imagemap:
        ground "ep1_aprilroom.png"
        hover "ep1_aprilroom_maghover.png"
        hotspot (491,540,113,54)
        action Jump("ep1_aprilroom_mag")

label ep1aprilroom_e:
    scene ep1_aprilroom
    mc normal "April isn't home right now. She'll be back in a little bit."
    
    call screen ep1aprilmag
 
Aug 2, 2017
75
311
Great that you made it work!
If for whatever reason you require "modal True" on a screen you can also try the renpy as it allows a screen to include another.

Code:
screen nav_ui: 
   
    ...
   
screen ep1aprilmag:
   
    modal True
   
    use nav_ui
   
    imagemap:
        ground "ep1_aprilroom.png"
        hover "ep1_aprilroom_maghover.png"
        hotspot (491,540,113,54)
        action Jump("ep1_aprilroom_mag")

label ep1aprilroom_e:
    scene ep1_aprilroom
    mc normal "April isn't home right now. She'll be back in a little bit."
   
    call screen ep1aprilmag
thats much better than the ghetto workaround i made, thanks!