Message-ID: <389B6DF7.1D9E63E0@itsmyparty.com.au> Date: Sat, 05 Feb 2000 11:25:27 +1100 From: Mark Mendes da Costa Organization: It's My Party X-Mailer: Mozilla 4.61 [en]C-AAPTINET (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Changing transparent color in 256 mode? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: a4-p13.syd.fl.net.au X-Trace: 5 Feb 2000 11:28:08 +1100, a4-p13.syd.fl.net.au Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Why don't you change another colour to black using the palette routines? Then colour 0 stays transparent and you can use another colour as black. In the default VGA palette, isn't colour 16 black aswell? ~Alex "William J. Urban II" wrote: > Hello all, > Well I am working on the standard tile based learn how to use Allegro > stuff and I was wondering if there is any way to change the transparent > color from black to something else. Black is pretty useful for drawing the > "ink" lines in characters to give them more depth but then when I > draw_sprite, it puts the background color instead. I looked for something > in the palette information but I couldnt find anything on it. I also tried > using a dark blue and it worked but gave the characters a blue tint to them. > Any ideas? Thanks in advance. > > -Will