Screen zorder and quit confirm message screen

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.
Post Reply
Message
Author
Ryue
Miko-Class Veteran
Posts: 745
Joined: Fri Nov 02, 2012 8:41 am
Projects: Red eyes in the darkness
Contact:

Screen zorder and quit confirm message screen

#1 Post by Ryue »

I've made a screen for decisions where I use zorder 5.
Now when someone clicks on the x of the window instead of a decision I face a problem:
The zorder of the quit screen is less than the one of the decision. (thus the quit screen is not seen as its behind the decision screen.)

Can I change this somewhere?

Ryue
Miko-Class Veteran
Posts: 745
Joined: Fri Nov 02, 2012 8:41 am
Projects: Red eyes in the darkness
Contact:

Re: Screen zorder and quit confirm message screen

#2 Post by Ryue »

ah found it

in screens.rpy:

Code: Select all

screen yesno_prompt(message, yes_action, no_action):
    zorder 8  # <-- this to be put in in my case (as my max zorder for my decision screens is 5)

Post Reply

Who is online

Users browsing this forum: No registered users