Page 1 of 1

Is there a way to make the "h" key hide everything but the scene image?

Posted: Wed Jan 10, 2018 10:03 am
by envixer
Hi all! I have a couple of questions, but this one's the first one:

I'm putting together a visual graphic novel in Ren'Py, and I'm using png speech and thought bubbles rather than the usual interface. I'm also using fully rendered screens to show the character (yes, lots of scene changes but I'll come to that later). The thing is, a lot of Ren'Py games I've played use the "h" key to hide the UI, which doesn't really work for me.

So, can I make the "h" key (or another key) hide everything but the background image?

Re: Is there a way to make the "h" key hide everything but the scene image?

Posted: Wed Jan 10, 2018 10:25 am
by Remix
How are you displaying the images you want to remain?

Code: Select all

label start:
    scene bg 1 # this image would remain
    show screen some_screen_that_shows_an_image( img ) # this wouldn't as it is a screen
You might get around it using -- show screen x onlayer "master" -- which would lower it onto the 'master' layer which might not be cleared. (sub-note: dunno if that only works for images though). Maybe add Image( "bg.png", _onlayer="master" ) is possible too

Re: Is there a way to make the "h" key hide everything but the scene image?

Posted: Wed Jan 10, 2018 10:28 am
by envixer
I'm using scene for the background, and screen for the text.

Is there another way I haven't found to show the text image?

Re: Is there a way to make the "h" key hide everything but the scene image?

Posted: Wed Jan 10, 2018 10:32 am
by Remix
... was editing first reply...

You might get around it using -- show screen x onlayer "master" -- which would lower it onto the 'master' layer which might not be cleared. (sub-note: dunno if that only works for images though). Maybe add Image( "bg.png", _onlayer="master" ) is possible too