Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Shadow on Sun 02/11/2003 15:23:09

Title: Import mask
Post by: Shadow on Sun 02/11/2003 15:23:09
Hello,
I would like to know, how I can use the function "import mask"
in the room areas section.
What do I have to draw, so that AGS can recognize it?
Title: Re:Import mask
Post by: Ytterbium on Sun 02/11/2003 16:05:13
Well, you have to have a mask exported first. All you need to do is import the mask file.
Title: Re:Import mask
Post by: Quintaros on Sun 02/11/2003 16:38:20
You have to draw your mask to the same dimensions as the room that is being masked.  The mask has to be in 256 colours using the locked portion of the game's default pallette.
Title: Re:Import mask
Post by: MrColossal on Mon 03/11/2003 08:26:06
try using as many primary colours as possible, i don't really stress over getting the exact colours cause i can just floodfill and change whichever i want to whichever colour i want

just sayin'
Title: Re:Import mask
Post by: Shadow on Mon 03/11/2003 12:39:38
Thanks, but do I have to draw only the Walkbehinds, without the background?
Title: Re:Import mask
Post by: Ishmael on Mon 03/11/2003 12:40:56
Yes, of cource. In the mask, all black is defined as 'no walkbehind', color 0, empty.
Title: Re:Import mask
Post by: Shadow on Mon 03/11/2003 19:39:35
Okay, thank you I've got it :)