Newbie Question About Sierra-Style GUI Design/Importing

Started by WackyWildCard, Tue 24/10/2006 02:16:39

Previous topic - Next topic

WackyWildCard

 ???

Could somebody help me with my GUI design please? It is in regards to a new game I'm designing: Knight's Quest: Shield Search.

My Game Icon GUI looks great, as you might see in the Game Development thread, but it is missing something.

You know the Icon bar on the top of most Sierra-Style Games? Well I need help with making an Icon that will link to a Sound, Game Speed, Brightness, Save, Load, Quit - etc...for my game. Could somebody please give me a step by step instruction for designing that function? Or perhaps even a thread or link where I could find a downloadable GUI that would serve that purpose? Perhaps a Larry Vales or King's Quest GUI?

Thanks.


R4L

Just make another GUI, with all the options on it, and on the other GUI, the one w/ the button, just add some code for the button, something like this:

if (button == BUTTON#){
gIconGUI.Visible = false;
gOptionsGUI.Visible = true;
}

BUTTON# meaning the actual button number of the GUI object.

gypsysnail

I had been wondering about this part too - being new to this, I would like to know if this
Quoteif (button == BUTTON#){
gIconGUI.Visible = false;
gOptionsGUI.Visible = true;
}

BUTTON# meaning the actual button number of the GUI object.

includes the functions to make each part inside that GUI button work. If I have posted this in this thread, sorry about that - not sure if I should create a new thread on this or stay in this one but don't yell please if I have added this question in this thread. I just wonder how to make the save quit speed etc etc functions work within that button? Yes I know I have to design the box of those things, pull up and down handles (like levers lol). Just wondering. Good question by the way WackyWildCard! Look forward to your game coming out :).
Believe in afterlife! It's true in a metamorphical way ;)
Ken & Roberta - my inspiration!! 20 years.
U are what you love doing and passionate about - keep up what you love most.

Theeph

That's just the code to get the button to open up another gui.

To get those functions to work you'll have to make them yourself.

Never tried it for the brightness and sound, but it wouldn't be that hard... ah yes, thank you help file:

slider.Max = (whatever your max volume/brightness is);
slider.Min = 0;

then the onClick for the exit gui button should have something like:

SetMusicMasterVolume(slider.Value);

or

SetAmbientTint(0,0,0,0,slider.Value);

gypsysnail

Thankies Theeph!! :):) I'll try this at the weekend when work ends for the week once again ahhhhhh looking fwd to that! I am going to ask another question but in a new thread because it doesnt relate to this thread's topic.
Cheers
Believe in afterlife! It's true in a metamorphical way ;)
Ken & Roberta - my inspiration!! 20 years.
U are what you love doing and passionate about - keep up what you love most.

R4L

I was just pointing Wacky towards the right direction. Maybe a module should be made for quick imported options.

Theeph

Quote from: R4L on Tue 24/10/2006 11:47:16
I was just pointing Wacky towards the right direction. Maybe a module should be made for quick imported options.

Didn't mean to imply otherwise R4L. Module idea is a great one too. Somebody should look into that... I'm gonna start. :)

WackyWildCard

 ;D

Thanks guys, for all the help!
This info will assist me in my Game Project.

It would be cool also to have a GUI Module as well! ;D


SMF spam blocked by CleanTalk