Newsgroups: comp.os.msdos.djgpp From: "A. Jans-Beken" Subject: Allegro - shadow of sprites Content-Type: text/plain; charset=us-ascii Message-ID: <33387866.3593@oce.nl> Sender: news AT oce DOT nl (The Daily News @ nntp01.oce.nl) Content-Transfer-Encoding: 7bit Organization: Océ-Nederland B.V. Mime-Version: 1.0 Date: Wed, 26 Mar 1997 01:14:14 GMT Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In a game I am working on I want objects to cast shadow on the ground. With Allegro it is possible for graphic object to regard color 0 as transparent. What do I have to do to replace color 1 with the current background color minus (for example 3). I tried to fix it in the source-code of Allegro my self but this proved to be to difficult for me (I don't know too much about assembler programming!). I have heard that color 1 is used as the "shadow color" in other projects as well so it seems the logical choice to me. greetings, A. Jans-Beken