Transparent GUI

Started by InCreator, Tue 18/01/2005 01:40:23

Previous topic - Next topic

InCreator

Well, I might just be incredibly stupid, but I just can't manage to make a semi-transparent text gui!

I did set game's resolution to 16-bit.
I did made game to use text windows on my gui.
I used SetGuitransparency (ags 2.6) command to make gui 50% transparent.

Nope, not transparent.
What gui background color should I use? Does transparency apply only to GUI's with backgground images?
Will text be transparent too?
What did I do wrong?

I basically need my textwindow gui just to be a big semitransparent black box with white text on it. No border images or anything.


Scorpiorus

I'm not certainly sure but maybe AGS just doesn't allow having transparent text window GUIs? Does transparecy work if you set up a non text window GUI?

QuoteWill text be transparent too?
Yes, the text will also be transparent (at least for a non textwindow). Transparency affects the whole GUI including its objects.

Candle

Pick up the Ron template the GUI is transparent  .

Gilbert

Maybe I'm wrong but as far as I know the RON GUI just used transparent sprites, it's not a GUI set to semi-transparent.

Kikutaâ„¢

well, i have a transparent gui.
Try converting the image to .targa, in 32 bit, and use the alpha channel. It worked for me :P

Gilbert

#5
I think currently, alpha-channelled sprites can only be used for 32-bit games, if the colour depth is 16-bit (as in the case of in's game) it can only use the method of changing the transparency of a whole entity.

Just have a thought, what colour depths were those GUI sprites saved? I think they must be imported as the same colour depth as the game for transparency to work, if they were saved as 256 colours, resave them as 16/24 bit and then reimport them as 16 bit.
Just tried, I couldn't make a semi-transparent text window either (but works for other GUIs), I think probably SetGUITransparency() for text windows is not yet supported, you may make it a suggestion in the Technical forum if you wrong I think.

SMF spam blocked by CleanTalk