Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: proskiier on Fri 30/11/2007 03:36:57

Title: icon/button bar(SOLVED)
Post by: proskiier on Fri 30/11/2007 03:36:57
I have the basic kings quest interface in my game, but the grey bar here to get the (icon bar) to show up when you mouse over it is too tall... so I changed it from 13 to a lower number and that worked well(with showing more of my maps) but when you scroll it still reads as 13 tall (as to when to switch over to the icon bar)

So basically my question is how do I switch it from 13 rollover to show up to a lesser number??

Thanks in advance :)

(http://img530.imageshack.us/img530/1430/iconbarnd5.png)
Title: Re: icon/button bar
Post by: Candall on Fri 30/11/2007 03:47:49
You need to change the Popup Ypos value, I think.
Title: Re: icon/button bar
Post by: proskiier on Fri 30/11/2007 04:32:44
thnaks
Title: Re: icon/button bar(SOLVED)
Post by: Ashen on Fri 30/11/2007 10:50:02
To expand a little: The 'grey bar' (gStatusline) is nothing to do with when gIconbar appears. To change that, or any 'Mouse Y-pos' type GUI, you need to change the 'Popup YPos' value of that GUI. This is in the manual, under "Editing the GUIs (http://www.adventuregamestudio.co.uk/manual/Editing%20the%20GUIs.htm)":
Quote
The "Mouse YPos" option means that the GUI only appears when the mouse vertical position moves above the y-coordinate set with the "Popup-YP" option.

In a defaul AGS game, it just so happens that the height of gStatusbar is the same as gIconbars Popup YPos - but the two aren't really related.
Also, if you don't want gStatusbar interfering with you map screen, why not turn it off when you enter that room, and on again when you leave? (GUI.Visible (http://www.adventuregamestudio.co.uk/manual/GUI.Visible.htm) can also stop Y-Pos GUIs, like gIconbar from appearing in that room, too.)