Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: sameera on Thu 21/09/2006 10:11:58

Title: GUI help for non adventure game (SOLVED) Thanks KhrisMUC
Post by: sameera on Thu 21/09/2006 10:11:58
Hello everyone,

I have started making a cricket game. I need some GUI help.

I only want the walking and contact GUIS. When I delete the other GUI buttons the gui window has a hole which doesn't look nice. Also most importantly though I delete the GUIS when I right click with my mouse I can still choose the gui. Help would be greatly appreciated thanks.
Title: Re: GUI help for non adventure game
Post by: Khris on Thu 21/09/2006 10:18:40
GUI is short for "graphical user interface", a GUI in AGS is one of the rectangle-shaped windows that pop up occasionally.
I think you're talking about cursor modes.

-If you want to get rid of the holes, move the buttons to the left, then adjust the GUI's width accordingly.

-To get rid of the other cursor modes, uncheck their "standard cursor mode" box in the cursors pane.
Title: Re: GUI help for non adventure game
Post by: sameera on Thu 21/09/2006 10:24:35
Quote from: KhrisMUC on Thu 21/09/2006 10:18:40
GUI is short for "graphical user interface", a GUI in AGS is one of the rectangle-shaped windows that pop up occasionally.
I think you're talking about cursor modes.

-If you want to get rid of the holes, move the buttons to the left, then adjust the GUI's width accordingly.

-To get rid of the other cursor modes, uncheck their "standard cursor mode" box in the cursors pane.


Nice and sweet answer. Thanks a lot.
One more question how do I fix the iconbar into the screen. Rather than moving the mouse
Title: Re: GUI help for non adventure game
Post by: Khris on Thu 21/09/2006 10:28:40
You're welcome :)

Change the GUI's visible property to "Persistent". You can do that in the small window where it says GUI X (Y objects) by double clicking "Visible".
Title: Re: GUI help for non adventure game
Post by: sameera on Thu 21/09/2006 11:01:17
Quote from: KhrisMUC on Thu 21/09/2006 10:28:40
You're welcome :)

Change the GUI's visible property to "Persistent". You can do that in the small window where it says GUI X (Y objects) by double clicking "Visible".

Thanks again for your help. If you don't mind I'll ask my final question. Can I make the whole bar invisible. (This would be lot easier than deleting). I want to make my icon bar invisible and the cursor mode on.
Title: Re: GUI help for non adventure game
Post by: Khris on Thu 21/09/2006 12:44:16
Yes, set the GUI's Visible property to "Normal", then inside game_start() use this script command: GuiOff(x);[/], where x is the number of the GUI.
(To get to game_start(), select Script -> game_start from the editor's menu)
Title: Re: GUI help for non adventure game
Post by: sameera on Thu 21/09/2006 12:52:52
Quote from: KhrisMUC on Thu 21/09/2006 12:44:16
Yes, set the GUI's Visible property to "Normal", then inside game_start() use this script command: GuiOff(x);[/], where x is the number of the GUI.
(To get to game_start(), select Script -> game_start from the editor's menu)

Thank you very much  ;) ;)  Everything is solved now

I have another non GUI problem I'll create a new topic for that
Title: Re: GUI help for non adventure game (SOLVED) Thanks KhrisMUC
Post by: monkey0506 on Thu 21/09/2006 22:10:31
[EDIT:] I see from his other thread in the Tech Forum he is using AGS 2.62. Nevermind. :-[

Khris...I can only assume you know he's using AGS 2.62 or earlier....because...o.0....AGS 2.7 and later the proper code for this would be:

gGuinamehere.Visible = false; // or gGuinamehere.Visible = true; to turn it back on
Title: Re: GUI help for non adventure game (SOLVED) Thanks KhrisMUC
Post by: sameera on Fri 22/09/2006 02:42:21
Quote from: monkey_05_06 on Thu 21/09/2006 22:10:31
[EDIT:] I see from her other thread in the Tech Forum she is using AGS 2.62. Nevermind. :-[

Khris...I can only assume you know she's using AGS 2.62 or earlier....because...o.0....AGS 2.7 and later the proper code for this would be:

gGuinamehere.Visible = false; // or gGuinamehere.Visible = true; to turn it back on

She. I'm deeply offended ;D

I'm a he thanks

Yes I am using 2.62. Thanks for the conversion
Title: Re: GUI help for non adventure game (SOLVED) Thanks KhrisMUC
Post by: sameera on Fri 22/09/2006 03:04:17
I hope this is not considered as a double post. Here is something to help you guys

(http://img242.imageshack.us/img242/5467/sdasdsadkr7.th.png)

Now you can see that your efforts to answer this question is not a waste of time.
Can anyone come up with any decent idea. How to ball and bat

Title: Re: GUI help for non adventure game (SOLVED) Thanks KhrisMUC
Post by: monkey0506 on Fri 22/09/2006 05:04:10
Sorry Sam...just...something about your name struck me as feminine. Sorry if I offended you.

And you didn't post the link to the larger image with the thumbnail...So I can't really see the picture very well. :-\