delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/07/20:07:50

From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: blender_map
Date: Wed, 7 Oct 1998 22:50:26 +0100
Message-ID: <000101bdf23c$7e3983e0$554e08c3@arthur>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <6vg10u$ai8$1@nnrp1.dejanews.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

>   I am trying to find a simple way of fading a truecolor bitmap
> but I don't
> think there is one so I am looking for info on blender_mapping.
> I couldn't
> find any examples in the Allegro web ring so I came here in hopes someone
> might know where I can find an example of using blender_map.

You did check the example programs, didn't you? There's one in there.

IIRC, all you need to do is set_trans_blender to various levels of alpha;
then call draw_trans_sprite. That's the way I used it some time ago (I
think - I'll have to check).

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019