Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: HyperAnimated on Sat 12/09/2009 11:44:26

Title: Color problems with importing alpha channel PNG sprites from Flash CS4? [SOLVED]
Post by: HyperAnimated on Sat 12/09/2009 11:44:26
I've tried exporting a flash animation as a series of PNG images, 24 bit with alpha channels.  When I import them as sprites to AGS 3.1, they show up fine in the Import Sprite window.  But then in the actual sprite, any black-colored parts disappear no matter which Transparent Colour option I pick.  Is there a way to fix this?  Thanks!
Title: Re: Color problems with importing alpha channel PNG sprites from Flash CS4?
Post by: Gilbert on Sat 12/09/2009 16:44:42
What colour depth is your game set to? Make sure it's not 16-bit. To use sprites with alpha channels properly you must change it to 32-bit.
Title: Re: Color problems with importing alpha channel PNG sprites from Flash CS4?
Post by: HyperAnimated on Sat 12/09/2009 22:31:22
Ah!  That was it, alright. :)  Stupid me, I even knew that and still forgot to check.  Thanks! :)