ID:271707
 
how do i make an icon like how it does it on vista's start menu, where some parts are see-through so that u see what is behind the START MENU, such as backgrounds, internet, etc..... just anything... any way to do this?
??????????
In response to Super Silly Stuart
Super Silly Stuart wrote:
??????????

BYOND 4.0 supports icons with alpha channels. Alpha channels allow you to make icons partially transparent, which was not possible before.

Edit an icon in 4.0 and you'll see a grey bar which is set to "255" in the right side of the editor. That bar controls the alpha channel: set it to another value to make the icon more, or less, transparent.

The interface supports partially (or fully) transparent windows as well. Edit a window and goto the "Skin" tab for this feature, but be warned if you are changing the transparency settings for a window with a map element on it: it will force the map to goto software mode and the game may run slower on some machines.
Note that changing the transparency of panes has no effect: it only works on actual windows.

-- Data
In response to Android Data
ICONS TO BE SEE-THROUGH

not anything else, and thus the skin wouldnt need to be changed for this... since its not like i wantem to see the background....

ALSO, i need another way to do this, such as a variable to change while the game is running to make each different icon more or less transparent without completely destroying the game, and making it 5 billion MB
Use the rgb() proc to modify the icon's alpha values at runtime. Or, as Android Data suggested, edit the icon in the icon editor to make it translucent/transparent (or see through as you put it).
In response to Abhishake
ok, um, so tell me how to use it, so its see through, and i dont have to test all my icons to a different RGB() or w/e and to make it transparent.
In response to Super Silly Stuart
ICONS TO BE SEE-THROUGH

He told you how in the second paragraph, the bar for alpha shows up when you edit an icon in 4.0, try experimenting with what people say instead of going like "OMG IT DOSNT WRK CUZ HE USIN FANCY TLAK PROB 4 SOMETING COMPXL LKIE TRANSPARING TEH SKIN". (As a note, the 3rd paragraph talks about how to make the window transparent but the 2nd talks about the icon(s) it/themselves)

_> <_< >_> <_< >_>

Alpha channel = Fancy name for how opaque (solid) the icon looks to how transparent (see through) the icon looks.

0 to 255 is the scale, 0 = 0%Opaque / 100% transparent (see through), 255 = 100% opaque / 0% transparent (solid) / 155 ~= Semi-see through icon (like a ghost)!

and as what Abhi mentioned, look up the RGB()

icon.Swap_or_MapColor_maybe(old_RGB(RR,GG,BB,AA), new_RGB(RR,GG,BB,AA)) //DM Reference >_> <_<


If you do not get what we are talking about, tell us what you do not get us saying instead of repeating the same thing over and over which will cause no one to go forward
In response to GhostAnime
dude, i am not repeating myself, what i meen is, the guy told me use RGB() and i was saying what rgb values do i use to make it transparent and does it work so that i use the same for RGB for all icons regardless of color, to make a high quality see-through image???

anyways, i need an example of a verb changing RGB or w/e is needed to make a turf transparent....

anyone can make a sample one for me?
In response to Super Silly Stuart
<font size=18>Use. Alpha. Channels.</font>

I don't think it could get any harder than that. It's supported in BYOND 4.0 now.

Don't bitch at me because you don't know how to; go self-teach yourself.
In response to LucifersHellion
i dont want to use alpha channels or i would....

either way, if i change that bar, nothing happens in the editor, maybe in the game, but i wanna be able to see whats going on in the editor too...
In response to Super Silly Stuart
also, no matter what i do, the icon doesnt become "see-through" in-game or in the editor, what do i need to do... sliding the alpha bar doesnt help...
In response to Super Silly Stuart
you have to slide the bar and then fill in what you want transparent, you can't just select a color and move the bar.
In response to Narmanb
well then you have to remake the icon, and i have like 58 different colors, so i have to find each color, and then click that color to that spot and such, i thought you would just slide the bar, and it get more or less transparent by itself.