[SOLVED] Hi, is it possible to mute all screens under the Interface 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
User avatar
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

[SOLVED] Hi, is it possible to mute all screens under the Interface screen?

#1 Post by deltadidirac » Fri Oct 25, 2019 4:16 am

Hi all,

my problem is that:
if I'm in a location (for example a generic room) appear the related screen of this room, and over it, also the Interface screen.; but if I interact with the Iterface screen , the room screen under it is active again, so , sometime I have a problem when in the same point I have the two screens that interact each other.

I gave them the different "zorder" value (50 to the room and 100 to the Interface), but nothing happen.

How can I mute the screen room under the interface to not have problems?

PS
this is my standard form to call the screens at the and of a label:

Code: Select all

label example:
         scene x
         a "blablabla"
         show screen room
         call secreen interface
show screen room
call screen interface
Thanks
Last edited by deltadidirac on Fri Oct 25, 2019 6:11 am, edited 1 time in total.

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Hi, is it possible to mute all screens under the Interface screen?

#2 Post by isobellesophia » Fri Oct 25, 2019 5:33 am

Maybe layering the screens? So they they'll be covered.

https://www.renpy.org/doc/html/displayi ... html#layer

I had no examples though, i am not good at advanced python.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

Re: Hi, is it possible to mute all screens under the Interface screen?

#3 Post by deltadidirac » Fri Oct 25, 2019 6:10 am

Hi
solved by myself.

the solution is this:
you must insert the script " modal True " in the screen you want to be over the others

Code: Select all

screen example:
            modal True
            zorder 100
            add bg generic
            imagebutton:
                   etc.....
                   etc.....
See you

Post Reply

Who is online

Users browsing this forum: Ocelot