Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Wolverine on Tue 08/02/2005 19:01:32

Title: Sprites (when imported, turns all transparent) [SOLVED]
Post by: Wolverine on Tue 08/02/2005 19:01:32
OK. New problem. I imported a red sprite from an old AGI game and AGS is acting like the red in the sprite is transparent. Is this normal? If not, what's going on? How do I fix it?
Title: Re: Sprites
Post by: Sam. on Tue 08/02/2005 19:11:46
This is an easy one. When you import a sprite to AGS, it gives you some options as to which colour you want to be transparent. This is so that your characters are not just rectangles. The default transparency colour is whatever colour is in the top left pixel of your sprite. On the import dialogue, a drop down box is available, the best soloution i find i to change that to "palette index 0". or change the top left pixel of your sprite to purple, as this seems to be the universal colour for transparent.
Title: Re: Sprites
Post by: Wolverine on Tue 08/02/2005 21:24:56
Thanks, Zooty. As soon as I added the universal transparent color, things started working properly. :)
Title: Re: Sprites
Post by: Scummbuddy on Tue 08/02/2005 22:55:46
Yes, I'm quite surprised that this isn't in the BFAQ, hopefully if Rich gets time we can. It's a fairly common question.
Title: Re: Sprites
Post by: TerranRich on Wed 09/02/2005 03:08:15
Screw you all! I'm doing the best I can! I can't take this anymore! BLLLAAAARRRRGGGHHH!!!!111!111onetwo one and a half

Sure thing, I'll add it first thing after work tomorrow. ;) :P