From: "Arthur" To: Subject: RE: Allegro and Truecolor Date: Mon, 19 Oct 1998 21:09:54 +0100 Message-ID: <000501bdfb9c$6f9d6d60$5d4d08c3@arthur> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal In-Reply-To: <70ftj0$bel@news.mind.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com > I'm trying to do some programming using 16bit graphics. the problem I'm > having is that the fade_out(int speed) routine isn't working. Any ideas? Fade_out won't work in true colour modes: the reason being that fade_out shifts the palette values down to black, while true colour modes don't have a palette. You could write your own routines using a blender map. Make sure the screen you want to fade is in a BITMAP, then set the drawing mode to transparant and set the alpha value you want for transparancy, then blit black rectangles over the entire screen, until it's completely faded out. James Arthur jaa AT arfa DOT clara DOT net ICQ#15054819