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

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
envixer
Newbie
Posts: 4
Joined: Tue Jan 09, 2018 2:21 pm
Contact:

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

#1 Post by envixer » Wed Jan 10, 2018 10:03 am

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?

User avatar
Remix
Miko-Class Veteran
Posts: 830
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I cannot draw very well)
Projects: An un-named 3d anime based trainer game
Contact:

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

#2 Post by Remix » Wed Jan 10, 2018 10:25 am

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
Last edited by Remix on Wed Jan 10, 2018 10:31 am, edited 1 time in total.

envixer
Newbie
Posts: 4
Joined: Tue Jan 09, 2018 2:21 pm
Contact:

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

#3 Post by envixer » Wed Jan 10, 2018 10:28 am

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?

User avatar
Remix
Miko-Class Veteran
Posts: 830
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I cannot draw very well)
Projects: An un-named 3d anime based trainer game
Contact:

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

#4 Post by Remix » Wed Jan 10, 2018 10:32 am

... 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

Post Reply

Who is online

Users browsing this forum: Per K Grok, philat