Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Radiant on Thu 03/10/2013 22:33:46

Title: (solved) Speech portraits moved down due to GUI
Post by: Radiant on Thu 03/10/2013 22:33:46
If a GUI like an icon bar is displayed at the top of the screen, then speech portraits will be moved down from their normal position so as not to overlap with this GUI. But this doesn't seem to happen with every GUI, and I'm unclear what the distinction is that causes the portraits to move down.

In short: how do I disable this? I would like to have the portraits always appear in the same position regardless of whether a particular top-of-the-screen GUI is enabled or not.
Title: Re: Speech portraits moved down due to GUI
Post by: Crimson Wizard on Thu 03/10/2013 22:43:58
Hey, I added Speech.CustomPortraitPlacement, Speech.PortraitXOffset and Speech.PortraitY in 3.3.0 by your own request :).

Remember? http://www.adventuregamestudio.co.uk/forums/index.php?topic=48386.0
Title: Re: Speech portraits moved down due to GUI
Post by: Radiant on Thu 03/10/2013 22:53:12
True enough, I was somehow under the impression that PortraitY was added to the normal Y position. But that's not the case, I had simply forgotten about CustomPortPlacement.
Title: Re: (solved) Speech portraits moved down due to GUI
Post by: Radiant on Thu 03/10/2013 23:08:09
Related question: is it possible to have speech portraits appear on top of other GUIs? Currently they appear underneath other GUIs, and the property for Z-Order is not available on textbox GUIs.
Title: Re: (solved) Speech portraits moved down due to GUI
Post by: Crimson Wizard on Thu 03/10/2013 23:29:34
Quote from: Radiant on Thu 03/10/2013 23:08:09
Related question: is it possible to have speech portraits appear on top of other GUIs? Currently they appear underneath other GUIs, and the property for Z-Order is not available on textbox GUIs.
That's because the are overlays, and overlays appear beyond guis. I do not know if it is possible to set this up (probably not).