I've got these imagebuttons on my pause menu (the game menu/navigation screen that pops up when you right click in game) that, when clicked, should bring you to a unique scene. But for whatever reason the game menu/navigation screen doesn't vanish, and so the extra scene happens behind the pause menu.
Here is the code for the imagebuttons on the navigation screen:
Code: Select all
screen navigation():
if not main_menu:
if journal1:
imagebutton auto "imgjournal1unlockedbadge_%s.png" action Jump("journalentrypause1") xpos 0.95 ypos 0.93 focus_mask True at ib_pause
else:
imagebutton auto "imgjournal1lockedbadge_%s.png" action Jump("journalentrypause1") xpos 0.96 ypos 0.93 focus_mask True at ib_pause #these will jump to different spots later on but I'll leave them as the same for this example
Code: Select all
label journalentrypause1:
hide screen game_menu #this should hide the screen I was just on, right?
hide screen navigation #or maybe this one?
scene journal1bg with slowdissolve
with dissolve
jo "This is the content of the extra scene"
I also tried
Code: Select all
imagebutton auto "imgjournal1lockedbadge_%s.png" action Hide('game_menu'), Jump("journalentrypause1") xpos 0.96 ypos 0.93 focus_mask True at ib_pause #these will jump to different spots later on but I'll leave them as the same for this example