Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Teh Crabe on Wed 03/09/2003 02:29:26

Title: GUI Sub-windows
Post by: Teh Crabe on Wed 03/09/2003 02:29:26
http://www.geocities.com/colintheriot/interface.html (http://www.geocities.com/colintheriot/interface.html)

This is the interface I'm developing for my game, and I currently have it set to scroll up from the bottom of the screen, kind of like in Apprentice.

This GUI comes up in the center of the screen.  What I'd like to know is if it's possible to have a sub window popup on the left when you click the inventory button that would then let you interact with your inventory.

Options on the right would do the same.  If it is possible, what approach do you recommend when I start to code it.

Thanks.
Title: Re:GUI Sub-windows
Post by: Scummbuddy on Wed 03/09/2003 03:05:31
Right now, it would currently not work under normal ideas, because of the zorder of the GUIs.. you could not have one that verb coin pop up, and then have the inventory pop up on top....


Wait, a second.  Currently, couldn't we feasibly do the verb coin with the inventory window as a perfect copy of Curse of Monkey Island?  I see two ways.

1) Have the inventory window be made first, and then the verb coin made after it on the GUI's tier.  That way, the verbcoin would pop up on the inventory because of its zorder, and you could interact with it.

If that wouldn't work than,
2)Make the verb coin, the inventory window, and then a copy of the verb coin, so that the second v.c. would pop up or only be used when on inventory items?
Title: Re:GUI Sub-windows
Post by: Teh Crabe on Wed 03/09/2003 04:06:30
I'll try this out and let you know if and how it works out.  I thought the z-order might be something to tackle.
Title: Re:GUI Sub-windows
Post by: Teh Crabe on Wed 03/09/2003 04:33:02
I actually thought up a clever way to do this involving transparent buttons with the same functions as the gui below.  I'm working it into the design and it's a pretty clever solution.  Not what I wanted technically, but it will look just like it.

Thanks for helping me "think outside the box" Scummy.