www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/12/17:27:22

From: chris DOT wright AT NOSPAM DOT dial DOT pipex DOT com (Chris)
Newsgroups: comp.os.msdos.djgpp
Subject: Problems with allegro masked_blit function....transparency not working
Date: Fri, 12 Feb 1999 22:19:13 GMT
Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom)
Lines: 12
Message-ID: <36c4a815.15273012@news.dial.pipex.com>
NNTP-Posting-Host: userp495.uk.uudial.com
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a 16 bit background on which I want to move around some 8 bit
colour sprites. I would also like some parts of these sprites to be
transparent so the background is visible through them.

There is an allegro function masked_blit to do this, but it doesn't
seem to work.....any points of colour 0 on my sprites simply show up
as black on my background, NOT transparent.

Ideas ?

Ta,
Chris.

- Raw text -


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