Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Sinister on Wed 01/03/2006 19:04:55

Title: Help with GUIs in AGS v2.71 (SOLVED)
Post by: Sinister on Wed 01/03/2006 19:04:55

Ok, i've been out of the loop for awhile and last time i used AGS was under version 2.6

Now, 2.71 has a new way of scripting (or handling) GUIs. I've looked around but i haven't found a guide as to "How to make GUI's the new way". I know that you can still do them the old way, but i still want to learn the new way.

Is there a guide out there i can get my hands on to understand the nuts and bolts of the new GUI building system?
Title: Re: Help with GUIs in 2.71
Post by: Pumaman on Wed 01/03/2006 19:57:42
Well, there is this which is a more general introduction to the new-style scripting:
http://www.adventuregamestudio.co.uk/manual/UpgradingTo27.htm

As for GUIs in particular, there's not much to tell. You still create them in the GUI Editor as before, but now rather than putting code in interface_click, you simply set a Script Name for the GUI control and then double-click it to edit its script.
Title: Re: Help with GUIs in 2.71
Post by: RickJ on Wed 01/03/2006 20:57:01
You could have a look at the demo game.  It's currently only up to V2.7 so it doesn't use the new style Strings but it idoes use the new OO scripting language to in the GUI code.   The links to it are in this thread:

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23083.0
Title: Re: Help with GUIs in 2.71
Post by: Sinister on Wed 01/03/2006 21:01:37
bloody hell that was simple enough. Thanks mate.

Cheers!