Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: barefoot on Sun 19/06/2011 21:02:08

Title: SOLVED: Missing labels on control panel
Post by: barefoot on Sun 19/06/2011 21:02:08
Hi

I now notice that some of the labels don''t show on the control panel when playing game.

I've checked with other games and its the same...

Can anyone explain?

barefoot
Title: Re: Missing labels on control panel
Post by: Khris on Sun 19/06/2011 21:05:03
Did you change the font or text color?

What other games? Downloaded ones? Or started by you?
Title: Re: Missing labels on control panel
Post by: barefoot on Sun 19/06/2011 21:24:37
Hi Khris

all labels text is 15 (white)...  i have opened saved games (copies) and they also have some labels and sliders missing:

Only showing:
Audio Volume and slider
Speed and slider

left hand buttons are ok..

Games by others i have either have complete custom panels or none so its difficult to know at the moment..

Basically i commented out ref to CP in global and added a button on CP to exit CP... played game and that's when I noticed.


cheers

barefoot



Title: Re: Missing labels on control panel
Post by: barefoot on Sun 19/06/2011 21:44:22
Hi

By adding this to my new 'open CP' button they show up:


function Button4_OnClick(GUIControl *control, MouseButton button)
{
gPanel.Visible=true;
lblGamma.Visible=true;
btnVoice.Visible=true;
lblVoice.Visible=true;
sldVoice.Visible=true;
sldGamma.Visible=true;
gIconbar.Visible=false;
  mouse.UseModeGraphic(eModePointer);

}


Other games still show as previous post.


barefoot

Title: Re: Missing labels on control panel
Post by: Khris on Sun 19/06/2011 22:36:13
I checked the global script; the game turns off the voice volume label and slider if there's no speech.vox file and the gamma label and slider if the game doesn't run at fullscreen.

This is intentional since there's no point in changing voice volume without voices and it isn't possible to change gamma if the game is run windowed.
Title: Re: Missing labels on control panel
Post by: barefoot on Mon 20/06/2011 06:35:52
Hi Khris

thanks a lot for your report.

That's something I will need to to remember.. I got a bit worried there...

cheers Khris

barefoot