Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: dikla on Fri 23/07/2004 20:33:48

Title: gui - always at the top of the screen? salvede
Post by: dikla on Fri 23/07/2004 20:33:48
With some help i managed to set a speed slider. the script is ok. but i have a problem.Ã,  the slider appears at the top of the screen and cover the icon bar.
what i really want is a possiblity to draw my own image of slider, put it as a background and in hotspot call the gui, but its keep coming at the top screen and i would like to know if there is a way i can put it exectly in the spot background that i want.
i saw in MI's games that you can choose speed or volume in a special room just for this purpuse, so i guess it can be done. but how. and pls be specific because i have little trouble of shourtcuts.
tkx dikla

Title: Re: gui - always at the top of the screen?
Post by: Mr Jake on Fri 23/07/2004 22:51:47
its in the GUI settings under 'GUI x' and GUI y'
Title: Re: gui - always at the top of the screen?
Post by: dikla on Sat 24/07/2004 12:52:05
i dont know what exectly you mean but if you mean horizontal or vertical the answer is horizontal. to tell you the truth i just follow script. by the way i dont know the command that after the user will set the speed it will disapear becuse it stuck the game because of the pop up model. can you be nice and show me what i should do and where to put it?
txs
dikla
Title: Re: gui - always at the top of the screen? salvede
Post by: Mr Jake on Sat 24/07/2004 19:46:14
to change the location of the GUI you need to set the GUI x and GUI y in the GUI settings.
Title: Re: gui - always at the top of the screen? salvede
Post by: Radiant on Mon 26/07/2004 14:37:24
Or, you use the SetGUIPosition() command in your interface_click function.