Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: =The=Brat= on Sat 07/05/2005 04:31:39

Title: Problem with importing sprites [SOLVED]
Post by: =The=Brat= on Sat 07/05/2005 04:31:39
Here is the origanal "Hang Greenwood"

(http://www.2dadventure.com/ags/hang.jpg)

and here it is after i import it into AGS

(http://www.2dadventure.com/ags/Hang2.jpg)

Please Help!!!
Title: Re: Problem with importing sprites
Post by: TerranRich on Sat 07/05/2005 05:31:15
Help? With what? Be a little specific about what exactly is wrong.
Title: Re: Problem with importing sprites
Post by: =The=Brat= on Sat 07/05/2005 06:08:05
 :-[ :P sorry, your right, i want to know if its ok if little areas such as the black stripes on his shirt and the outline and pupil of his eyes are ment to go purple
Title: Re: Problem with importing sprites
Post by: TerranRich on Sat 07/05/2005 06:22:21
Oohhh, I see it now. Basically, that bright purple is transparency. If you selected "Use pixel 0 as transparency" (or whatever the checkbox is called now) in the Sprite Import dialog, it'll make all areas that are like pixel 0 (the upperleft pixel) transparent. So if you have a black background, there's no way for AGS to distinguish the black in the background from the black in the outlines and pupils and pants zipper. Know what I mean?

I'd suggest using a different shade of dark gray for the background, this way only the background will be transparent. Or just use a different color altogether; it won't show up in the game anyway. Use a bright neon green (value 0,255,0) so that you'll be able to tell if it was all made transparent (sometimes there are parts that weren't exactly the same color and so is left in the image).
Title: Re: Problem with importing sprites
Post by: =The=Brat= on Sat 07/05/2005 08:38:00
well i guess that settles it

thank you TerranRich
Title: Re: Problem with importing sprites
Post by: TerranRich on Sun 08/05/2005 01:00:28
No problem. I'll be adding this to the BFAQ soon. :)
Title: Re: Problem with importing sprites
Post by: TerranRich on Thu 28/07/2005 18:51:32
Added to BFAQ: http://bfaq.xylot.com/#graphics34