transparent?

Started by duanne_boy, Tue 25/09/2012 16:57:24

Previous topic - Next topic

duanne_boy

what colors dose ags use for transparents.

and whats the best way to make them. as i keep havin trouble.
i keep getting like pixels around my images when i load them into ags.

Khris

AGS supports single color transparency and alpha channels.

If you import sprites with hard edges, you can choose the corner which AGS picks the transparent color from.

If you draw your sprites with a smooth brush, you have to use alpha channel transparency.
Switch the game to 32bit (you seem to have done this already, according to the other thread) and upon import, AGS should detect the alpha channel and ask you whether to use it or not.
For this to work, the sprite file has to contain an alpha channel of course.
One way is painting the sprite on a layer (as opposed to the background) so it is surrounded by the standard checkerboard pattern and save the file as PNG. Photoshop is able to do it, and so should GIMP.

duanne_boy

ok cool.

cheers again

SMF spam blocked by CleanTalk