GUI Sub-windows

Started by Teh Crabe, Wed 03/09/2003 02:29:26

Previous topic - Next topic

Teh Crabe

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.
"You are too pessimistic, you always see the empty side of the glass. Try to see the half-sized side." -Gord10

Scummbuddy

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?
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Teh Crabe

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.
"You are too pessimistic, you always see the empty side of the glass. Try to see the half-sized side." -Gord10

Teh Crabe

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.
"You are too pessimistic, you always see the empty side of the glass. Try to see the half-sized side." -Gord10

SMF spam blocked by CleanTalk