Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: homey3 on Sat 07/08/2004 18:01:46

Title: how do you get rid of the statusline?
Post by: homey3 on Sat 07/08/2004 18:01:46
I hate that ugly thing taking up space on the screen when I don't use it in the game.  It just ends up being an ugly bar there and now all of a sudden it even covers over the iconbar when brought up. 

How can I get rid of it so it doesn't show up on the screen?

Thanks.
Title: Re: how do you get rid of the statusline?
Post by: Ashen on Sat 07/08/2004 18:21:53
Either :
On the GUI panel, delete the STATUSLINE GUI.

Or:
In the game_start section of the global script, add the line
GUIOff (STATUSLINE);

EDIT: I'd recommend the GUIOff option, as it's easier to turn it back on if you change your mind.
Title: Re: how do you get rid of the statusline?
Post by: Moox on Sat 07/08/2004 18:24:16
What ahsen said, you can always put it to use tho.
Title: Re: how do you get rid of the statusline?
Post by: homey3 on Sun 08/08/2004 02:49:38
put GUIOff (STATUSLINE); in between the {} under game_start where I put the text speed and text gui commands.  The statusline is still there, though.
Title: Re: how do you get rid of the statusline?
Post by: Ishmael on Sun 08/08/2004 05:43:49
I've experienced random difficulties with GUI commands in game_start with older versions, and I'd say first try to put the command last in the game_start, and if you already have done so, try placing it in the first loaded room's "Player enters screen (before fadein)" or "First time player enters screen" interaction script.
Title: Re: how do you get rid of the statusline?
Post by: homey3 on Sun 08/08/2004 10:27:51
Hmmm, tried that and it didn't work.  I've tried that guioff just about everywhere I can think of and it won't work.  And why is it always on top of the icon bar?

Jonathan Grant
Title: Re: how do you get rid of the statusline?
Post by: SilverWizard_OTF on Sun 08/08/2004 10:58:31
You can just go to STATUSLINE, and click Delete this Gui.
                                                            (Down-Right side of the screen)
Title: Re: how do you get rid of the statusline?
Post by: homey3 on Sun 08/08/2004 11:08:59
Uh oh.  I deleted it and now it says there is an error because it's deleted.  I'm kind of scared now since I can't get it back.
Title: Re: how do you get rid of the statusline?
Post by: SilverWizard_OTF on Sun 08/08/2004 11:16:31
Hmm. go to the Gui's script editor end delete everything that has to do with STATUSLINE (Ehm.. make a copy first)

Edit* Hey, did you try to run your game? It must be worked!
    (To me it worked)

Title: Re: how do you get rid of the statusline?
Post by: homey3 on Sun 08/08/2004 11:27:29
I tried testing the game and it has an error message and says the statusline may be deleted.

Title: Re: how do you get rid of the statusline?
Post by: SilverWizard_OTF on Sun 08/08/2004 11:29:56
Strange.

Anyway, create a new game (default template). Then, just export its Gui.

Then, to your game, click import gui. It should replace your Gui, including the STATUSLINE.

Another good way to almost dissappear the statusline, is to decrease her height and weith
Title: Re: how do you get rid of the statusline?
Post by: SilverWizard_OTF on Sun 08/08/2004 11:34:29


Input Height: 0
and Width: 0

With this, the STATUSLINE will be invisible
Title: Re: how do you get rid of the statusline?
Post by: Ishmael on Mon 09/08/2004 19:48:19
...or just change the GUI's visibility to "Popup Modal"...
Title: Re: how do you get rid of the statusline?
Post by: Mephistophilis on Mon 09/08/2004 23:49:29
I always just set the back and front Colours to 0
Title: Re: how do you get rid of the statusline?
Post by: TerranRich on Tue 10/08/2004 08:04:33
Hello? Does anybody ever read the BFAQ anymore?
Title: Re: how do you get rid of the statusline?
Post by: Mr Jake on Tue 10/08/2004 08:08:11
Anymore??  ::)

Btw, you could just set the status line to pop-up modal and never have it pop up.
Title: Re: how do you get rid of the statusline?
Post by: Ishmael on Tue 10/08/2004 17:23:00
Hotspot, I did just tell that :P I've been trying to link people to the bfag, but I just occasionally forget the whole thing....  ::)
Title: Re: how do you get rid of the statusline?
Post by: Mr Jake on Tue 10/08/2004 17:24:25
you did? I assumed since this thread was still active no one has :D ohwell.