How to not hide certain screens when user presses h?

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
ConerNSFW
Regular
Posts: 40
Joined: Sun Oct 23, 2016 5:08 pm
Contact:

How to not hide certain screens when user presses h?

#1 Post by ConerNSFW » Sun Dec 11, 2016 12:22 pm

When you press H or the middle mouse button ingame all the screens are hidden, I was wondering if there was a way to stop this happening for certain screens, maybe if I put the screen on a different layer or something, I've tried using a custom layer the screen still gets hidden.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: How to not hide certain screens when user presses h?

#2 Post by PyTom » Sun Dec 11, 2016 12:31 pm

You could plausibly put the screen on the master layer, and it would likely stay. But hiding screens is kind of the purpose of H.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

ConerNSFW
Regular
Posts: 40
Joined: Sun Oct 23, 2016 5:08 pm
Contact:

Re: How to not hide certain screens when user presses h?

#3 Post by ConerNSFW » Sun Dec 11, 2016 12:43 pm

Thanks that's just what I was looking for. I'm doing it this way because some of the images are displayed on a screen at a fixed position.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Hojoo