SOLVED: Missing labels on control panel

Started by barefoot, Sun 19/06/2011 21:02:08

Previous topic - Next topic

barefoot

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
I May Not Be Perfect but I Have A Big Heart ..

Khris

Did you change the font or text color?

What other games? Downloaded ones? Or started by you?

barefoot

#2
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



I May Not Be Perfect but I Have A Big Heart ..

barefoot

Hi

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

Code: ags

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

I May Not Be Perfect but I Have A Big Heart ..

Khris

#4
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.

barefoot

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

I May Not Be Perfect but I Have A Big Heart ..

SMF spam blocked by CleanTalk