GUI help for non adventure game (SOLVED) Thanks KhrisMUC

Started by sameera, Thu 21/09/2006 10:11:58

Previous topic - Next topic

sameera

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.

Khris

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.

sameera

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

Khris

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".

sameera

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.

Khris

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)

sameera

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

monkey0506

#7
[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:

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

sameera

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:

Code: ags
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

sameera

I hope this is not considered as a double post. Here is something to help you guys



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


monkey0506

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. :-\

SMF spam blocked by CleanTalk