Question about color depth

Started by HandsFree, Fri 06/01/2012 19:29:04

Previous topic - Next topic

HandsFree

I've been playing around with the idea of doing a Black Sect remake and for that I took quite a few screenshots and loaded them in AGS. Now I just found out that the screenshots (and the objects and cursors) have a bit depth of 32.
The game's color depth is set to 16 bit by default.

Will this become a problem? Do I have to change the game's color depth? Does this have any consequences?

thanks

Ghost

#1
Depending on how you do the screenshots, they will be the colour depth of your desktop, so it's easy to get a 32bit screenshot out of an 8bit game by pressing PrntScrn and pating that into a paint program.

When you import something into AGS, it will be reduced to the internally used colour depth. So a 32bit sprite will be turned into a 16bit one, which CAN result in loss of fine gradients, but will be no problem if you have clear "pixel art".

The only unwise thing is to create a game, import a lot of sprites, and THEN change the colour depth back-and-forth. This can seriously mess up sprites, to the point where transparency no longer works and you're forced to reimport everything.

As a rule of thumb:
8bit palette- hardly used at all, and really only useful if you wish to use palette cycling, or to challenge yourself to a small palette
16bit- the jack-of-all-trades, good colour range and moderate file size, but no alpha channels, and fine colour transitions may look odd
32bit- gives you the full package, with alpha blending support, super-fine gradients, but with (usually) larger files

HandsFree

Ok, so I'll keep the 16 bit setting and can continue importing 32 bit and/or 16 bit sprites and they will all be 16 bit in the game? I don't think the quality loss is an issue as the original art wasn't 32 (or 16) bit to begin with.
thanks

Ghost

Quote from: HandsFree on Fri 06/01/2012 19:58:01
Ok, so I'll keep the 16 bit setting and can continue importing 32 bit and/or 16 bit sprites and they will all be 16 bit in the game? I don't think the quality loss is an issue as the original art wasn't 32 (or 16) bit to begin with.
thanks

Yes, as long as you keep the game's colour depth the same, all your sprites will be the same depth too. Happy importing!  ;)

SMF spam blocked by CleanTalk