Transparant Pixel Help

Started by Sir Bob, Sat 03/12/2005 20:02:56

Previous topic - Next topic

Sir Bob

Ok, I have just started AGS, and I was having trouble with GUIs and sprites and the spirtes transparant pixels. I am using 16-bit color.

Is there a way to make it so there is no transparant pixel in a sprite?

Ashen

Draw your sprite with a solid, 1 pixel line of the transparent colour (i.e. any colour not used in the sprite) down the left side, then when you import it just select the bit you want. Alternatively, use 'Grab whole image', and then right-click the sprite in Sprite Manager, and select 'Crop sprite edges'.
I know what you're thinking ... Don't think that.

Wretched

This probably isn't the official way but I usually use the 'Palette Index 0' option for transparency then 'grab entire image' and if you are in 16-bit with a texture with no pallete then then there are no transparent pixels. Work for me.

SMF spam blocked by CleanTalk