Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Hiya. I'm currently displaying multiple screens at the same time (involving a hud with a map for the 1st screen and a background with clickable objects for the 2nd) using this method:
label showingscreen:
show screen1
show screen2
python:
ui.interact()
It works mostly fine except when I try to save because everytime I right click or press escape, it returns me to the label before this one.
(i.e: If I was in label room1 for example and I jump to this label and click the map and go to label room2[which works fine], but when I press escape it returns me back to label room1 for some reason)
Are there buttons in screen1 that do action Return()? That might cause your problem, because you're only 'show'ing screen1, so executing a Return will probably pop something unexpected off the stack.
If that's not it, we're probably going to need to see a bunch more of your code to be able to guess what's going on.
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM