Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: xenogia on Fri 22/01/2010 04:02:48

Title: No idea where to start with a GUI
Post by: xenogia on Fri 22/01/2010 04:02:48
Hi Guys,

I want to create a Broken Sword style GUI but I have no idea where to start.  I am not overally great at coding, and the only templates I could find were for AGS 2.72 or below which was the BASS one.  I tried my hand at trying to converting it to new AGS syntax but alas I have failed.  Can anyone help me out with a template to work off?
Title: Re: No idea where to start with a GUI
Post by: Matti on Fri 22/01/2010 04:06:00
This seems kinda new: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=38762.0
Title: Re: No idea where to start with a GUI
Post by: xenogia on Fri 22/01/2010 04:14:53
I am having trouble understanding that module, i am truly daft.

I just want something as a template, and I know its lazy.  But I am truly awful at GUI interfaces.  
Title: Re: No idea where to start with a GUI
Post by: Goldfish on Fri 22/01/2010 08:09:27
Can you post a pic of what you want?

Just a pic or a diagram
Title: Re: No idea where to start with a GUI
Post by: xenogia on Fri 22/01/2010 09:52:31
I've slowly worked on it and got the bass style left/right click thing going.  But I have created an inventory window in the bottom left hand corner.  But my problem is if I click on an inventory nothing happens, it doesn't select it as a current inventory item.  How do I go about doing this?
Title: Re: No idea where to start with a GUI
Post by: Crimson Wizard on Fri 22/01/2010 17:18:08
I made a game template for my own use which features this kind of control. It has certain flaws, as template - that is (I forgot to remove some game-specific code), but you may copy the script code from it if you like.
http://www.box.net/shared/13f5pq38x7
Title: Re: No idea where to start with a GUI
Post by: xenogia on Fri 22/01/2010 23:14:39
Thanks for that, I eventually wrote one from scratch,  bit the bullet and did it myself.  And I thank everyone for their help.