Question: Transparancy

Started by Kikutaâ„¢, Thu 16/12/2004 00:42:14

Previous topic - Next topic

Kikutaâ„¢

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.

strazer

1.) In a hi-color game, just import a partly transparent picture as the GUI background.

2.) It's LEFTINV.

Scorpiorus

#2
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). :)

TerranRich

Status: Trying to come up with some ideas...

strazer

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!

TerranRich

Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk