delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/17/09:45:36

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro - Lit sprites
Date: Sun, 17 May 1998 11:21:50 +0100
Organization: None
Message-ID: <f8KN$BA+orX1EwkN@talula.demon.co.uk>
References: <MPG DOT fc806799d66481998969b AT news DOT virgin DOT net>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Andrew R. Gillett writes:
>Is it possible to draw a lit sprite which doesn't tint the sprite's black 
>background? I am trying to do a scrolltext where each character can be a 
>different colour, but it always tints the background of each character.

Lit sprites, just like any other kind of sprite, don't draw the
background at all. If the space around your characters is being printed,
you've probably made it in the wrong color; the background marker color
is zero for 256 color modes or bright pink for truecolor resolutions.


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Miracles are nothing if you've got the wrong intentions" - Mike Keneally

- Raw text -


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