disable hide window function

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
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

disable hide window function

#1 Post by DaFool » Wed Jan 18, 2012 3:15 pm

Yet another question dealing with hiding the say window.

I'm making a complex minigame menu system using screens. The problem is the hide_windows function (e.g middle mousebutton) when accidentally pressed hides some menu layers and makes the screen look like crap.

I want to be able to disable this functionality for a certain duration until I get back to dialogue mode. Is this possible?

number473
Regular
Posts: 195
Joined: Tue Dec 15, 2009 4:20 am
Projects: The Duke's Daughter
Location: Cape Town
Contact:

Re: disable hide window function

#2 Post by number473 » Wed Jan 18, 2012 4:23 pm

What about adding a key statement to check for the button press to hide the window and then just do nothing?

Code: Select all

key "hide_windows" action []
Mental weather report: Cloudy with a possibility of brain storms.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot]