Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Kikutaâ„¢ on Thu 16/12/2004 00:42:14

Title: Question: Transparancy
Post by: Kikutaâ„¢ on Thu 16/12/2004 00:42:14
Well, i was just thinking. Is there a way to script like , an inventory screen, that is 30% transparent and make the inventory item not transparent ?

And btw, when u click the left button over a  inventory window, is it LEFTIN or just LEFT? Because i'm having trobles with it and it doesnt work in either :P Maybe my mistake.
Title: Re: Question: Transparancy
Post by: strazer on Thu 16/12/2004 00:45:28
1.) In a hi-color game, just import a partly transparent picture as the GUI background.

2.) It's LEFTINV.
Title: Re: Question: Transparancy
Post by: Scorpiorus on Thu 16/12/2004 14:40:14
Quote from: strazer on Thu 16/12/2004 00:45:28
1.) In a hi-color game, just import a partly transparent picture as the GUI background.
I think strazer meant a true-colour game where you can add image with an alpha-channel. As for a hi-colour game you can have two GUIs: the first one with the inventory items window and with the background color set to 0 and the other - that's behind this one - with transparency set to 30 (see SetGUITransparency function). :)
Title: Re: Question: Transparancy
Post by: TerranRich on Thu 16/12/2004 17:26:39
BFAQ'ed: http://bfaq.terran-x.com/#guis11
Title: Re: Question: Transparancy
Post by: strazer on Thu 16/12/2004 17:44:07
Thanks Scorpiorus, I wasn't sure if hi-color supports alpha-channels or not.

Rich, let me say again that I think you're doing an awesome job with the BFAQ!
Title: Re: Question: Transparancy
Post by: TerranRich on Thu 16/12/2004 17:45:50
(http://www.agsforums.com/yabb/Smileys/default/grin.gif)

I know ;)