Mail Archives: djgpp/1998/05/18/00:15:25
Andrew R. Gillett wrote:
>
> In article <355E2581 DOT 451C12CA AT frozenwave DOT com>, Kertis A. Henderson
> (kertis AT frozenwave DOT com) wrote:
> > Andrew R. Gillett wrote:
> > >
> > > 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.
> >
> > Couldn't you use text_mode(-1); and not even draw the background?
>
> Makes no difference - the background always seems to be tinted. What I
> need is a 'draw_masked_lit_sprite', or something like that. Although all
> the other sprite functions already skip the transparent areas, so I don't
> understand why draw_lit_sprite doesn't as well.
>
> Btw, my program is in 16-bit colour mode, in case that's any help.
Then, are your fonts in the correct format for 16-bit color mode? If
you set the background to black instead of the 16-bit reserved
background color, the background would be lit!
--
Kertis Henderson
kertis AT frozenwave DOT com
- Raw text -