Message-ID: <001001be56df$36ac2660$97f9c6c3@johans-dator> From: "Johan Henriksson" To: Subject: Re: Problems with allegro masked_blit function....transparency not working Date: Sat, 13 Feb 1999 00:27:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com from Johan Henriksson, Sweden HTTP://come.to/jhewok | Primary mail: johan DOT he AT telia DOT com #UIN 12035895 Second: jhe75 AT hotmail DOT com Third: johan_he AT yahoo DOT com Leadprogrammer and FX-specialist at Real software http://come.to/real_software ************************************************************************* -----Original Message----- From: Chris Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Date: Saturday, February 13, 1999 12:05 AM Subject: Problems with allegro masked_blit function....transparency not working >I have a 16 bit background on which I want to move around some 8 bit >colour sprites. Why use 8 bit sprites? Mostly, combining colordepths slows down the computer and might give you problem when you use datafiles. >I would also like some parts of these sprites to be >transparent so the background is visible through them. > >There is an allegro function masked_blit to do this, but it doesn't >seem to work.....any points of colour 0 on my sprites simply show up >as black on my background, NOT transparent. > >Ideas ? > >Ta, >Chris. >