Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: HunterKett on Wed 11/07/2007 22:56:06

Title: Room import mask color depth problem
Post by: HunterKett on Wed 11/07/2007 22:56:06
I'm currently testing sections off AGS to get back into it but i'v come across a problem i can find a fix for. AGS is set up as 16 bit and when i attempt to import any image type background i get this:

"Error: the imported mask bitmap must be 256-colour (8-boit) colour depth. Masks are drawn using the firs 16 colours of an Indexed Palette  image"

Could somone give me a fix or some advice on how to get past this to allow me to import 16 bit / 32 bit backgrounds ?

Thank You.  :)
Title: Re: Room import mask color depth problem
Post by: on Thu 12/07/2007 01:13:29
It's not enough to only use the first umteen colours, your file must be 8bit, too. So you need to save it as an 8bit image. In PS this is  done by using Image - Mode - Indic. Colours, and then selecting System/Windows. Use PCX, works well for me.
Title: Re: Room import mask color depth problem
Post by: Gilbert on Thu 12/07/2007 01:52:44
I think the problem was he got background masks and background images mixed up.

You need to use the manual item "Room --> import background" to import a background image, not the "import mask..." button in the "Areas" tab.

Area masks are masks for the areas (such as hotspots, walkbehinds, regions, etc.) so you can draw the areas with your favourite painting programme instead of the primitive tools provides by agsedit, they MUST be 8-bit image.