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

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: transparency in sprites
Date: Sat, 30 May 1998 08:22:36 -0400
Organization: Communications Accessibles Montreal, Quebec Canada
Lines: 11
Message-ID: <356FFA0C.99A@cam.org>
References: <1998053005255100 DOT BAA24424 AT ladder03 DOT news DOT aol DOT com>
NNTP-Posting-Host: dialup-557.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

TackMast wrote:
> 
> i use the allegro library, and i've started making a game. i made the sprite of
> my character, and when i try to make the background transparent i can't. what
> color can i set it to to make it transparent? i use xspred and paint shop pro 5
> for all my graphic editing, so help in how to make the background transparent
> in one of those programs would help greatly. thanks

it depends on your color depth. in 8 bit it's color zero (whatever you
have there in your palette)
look in the allegro docs, you have all the answers there.

- Raw text -


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