help needed with GUI for quit game thingy

Started by mmmpieisgood, Wed 31/08/2005 19:50:48

Previous topic - Next topic

mmmpieisgood

I am making my first AGS game and have been using the getting started with AGS tutorial. I recently started making a quit GUI, as described in the last part.
However, steps 5 and 6 are for an older version of AGS than I have got. I tried to do it anyway, but got 2 problems-
1. I cant get the script to turn off the GUI after the player presses play.
and
2. I cant get the GUI to appear.

can u help me?

strazer

(The tutorial mentioned is here.)

In AGS v2.7 each GUI button can have its own event function, so you don't have to put everything into the interface_click function.

Just double-click the button to edit the button's script (you may have to give the button a name first) and enter
gYourguiname.Visible = false;
to turn the GUI off and
gYourguiname.Visible = true;
for the other button to turn the GUI on.


SMF spam blocked by CleanTalk