Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Zoolander on Fri 17/02/2006 05:33:22

Title: Turning GUI off during dialogue.
Post by: Zoolander on Fri 17/02/2006 05:33:22
Currently I have my icon GUI always visible at the bottom of the screen where the dialogue options appear.  During certain dialogues, there might be only one or two options, and so the GUI is semi visible underneath which I don't think looks that good. 

Is there a place in the Global script or something like that where I can have the GUI turn off temporarily only while the dialogue options are there and then turn on again when the dialogue is finished?
Title: Re: Turning GUI off during dialogue.
Post by: A�rendyll (formerly Yurina) on Fri 17/02/2006 10:33:42
Have you already checked what the visibility of the GUI is?

You can change the visibility to:
- Normal (turned off when messages/dialogs/events are running)
- Persistent (always visible)
- Pop-up Modal (You need to click on something to get the GUI visible, useful for game options, inventory, etc.)
- Mouse at Y-position [I don't know this one literally](Makes a GUI appear when the mouse is at a pre-defined Y-positions)

Maybe the mistake was here?
Title: Re: Turning GUI off during dialogue.
Post by: Ashen on Fri 17/02/2006 11:15:09
It might also help (if you haven't done it already) to change the 'When interface disabled' option on the 'Genereal Settings' window to GUIs turn off. Although, this will affect ALL GUIs for ALL blocking events (e.g. Display(...) commands) which might not be what you want.
Alternatively, you could use a custom GUI for dialogs, as you can position and size that as you like.
Title: Re: Turning GUI off during dialogue.
Post by: Zoolander on Fri 17/02/2006 12:10:40
Thanks for the ideas.  I made a custom GUI for the dialogues.