delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/16/16:45:22

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: a midi question and a transparent sprite question
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <vj3lksgqs8vthv6gd77nqllgfgujslv28j@4ax.com>
References: <3949C9F4 DOT 20EC703B AT nycap DOT rr DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 23
X-Trace: /Kp2lq7ypC9+5Ktq7suIfMPnmJFHtHXmmmL/qIDQo3TMJmbWdnY3pcLCN9IgcVjsiIczfaRohYzU!nicvsdF/EF35xKMKv/tT+yvvyQ8Dc3UpwYUQ2Uww3hvh7oecqy7DW8QzCZtSy/pfWyDut4FFiYrt!XZM=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Fri, 16 Jun 2000 20:34:28 GMT
Distribution: world
Date: Fri, 16 Jun 2000 20:34:29 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Fri, 16 Jun 2000 06:33:46 GMT, Kaeru the Frog
<kaeruthefrog AT nycap DOT rr DOT com> wrote:

>second allegro question: how do you draw transparent sprites in 256 and
>true color modes.

Depends on what you mean by "transparent sprites."  For plain-vanilla
binary mask sprites, simply use color 0 (8-bit) or hot pink #ff00ff
(16- or 24-bit) for the transparent areas.

>the help says you need to set up a color mapping table
>or a blender map for true color but i dont know how this works.
>shot snippits of code would be helpful.

.../allegro/examples/

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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