Help with AGS Colours and sprite colours

Started by purple_tentacle_, Thu 24/12/2009 17:39:15

Previous topic - Next topic

purple_tentacle_

I have a question and was hoping that someone can answer it for me. I am new to AGS and I want to import my own sprites. Right now I am just making a practice game and want the background to be black and everything else (Buildings, items, people, ect.) to be white kind of like a blueprint kind of style. I already started on the sprites and room one. About half way through I was watching a tutorial video on youtube and found out that Black is a  transparent color. Is there a way I can change it so I can use it as the background and fill for the character? And is there a way I can make another color transparent like green?

Purple_Tentacle_ :=

monkey0506

The color AGS uses for transparency isn't black, it's actually magenta (RGB 255, 0, 255). Backgrounds don't offer any transparency (what would show behind them?) and your sprites have their transparency set when you import them. There are various options available such as "Top-left pixel", "Palette index 0", "Leave as is", "No transparency", etc. That tells AGS when you import the sprite which color to was used as the transparent color when creating the sprite, and any pixels which have the same color value will be changed over to the magenta color.

purple_tentacle_

Oh ok well I am going to just stick with the ags tutorials instead of Youtube. Thanks alot I couldnt find anything in the manual.

SMF spam blocked by CleanTalk