| delorie.com/archives/browse.cgi | search |
| From: | bdarnell AT vnet DOT net (Ben Darnell) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: HELP with Allegro (draw_sprite function) |
| Date: | Sun, 01 Dec 1996 22:04:07 GMT |
| Organization: | Vnet Internet Access, Inc. |
| Lines: | 19 |
| Message-ID: | <57svcq$geh@ralph.vnet.net> |
| References: | <57sbo1$fas AT athena DOT cytanet DOT com DOT cy> |
| NNTP-Posting-Host: | vts-char5-s10.vnet.net |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Marios Patsias <m DOT patsias AT cytanet DOT com DOT cy> was overheard mumbling
incoherently about HELP with Allegro (draw_sprite function):
>I use the Allegro draw_sprite() function for displaying bitmaps, but
>the bitmap isn't masked as it should be (according to the documentation),
>and the blank pixel of it owerwrite the background.
>Is there anything that I should know before using this function.
>Note: The bitmap is a memory bitmap defined in a grabber .DAT file.
Are you sure that the areas that should be transparent are color 0
(palette index 0, not necessarily black)? Many graphics programs
don't give you complete control over the palette order.
__ __
/> /_ /| / /\ /| /> /| / /_ / /
/> /_ / |/ /_/ /-| / \ / |/ /_ /_ /_
http://users.vnet.net/bdarnell
bdarnell AT vnet DOT net
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |