Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: duanne_boy on Tue 25/09/2012 16:57:24

Title: transparent?
Post by: duanne_boy on Tue 25/09/2012 16:57:24
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.
Title: Re: transparent?
Post by: Khris on Tue 25/09/2012 17:44:06
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.
Title: Re: transparent?
Post by: duanne_boy on Tue 25/09/2012 18:03:50
ok cool.

cheers again