From: mejorm AT aol DOT com (Mejorm) Newsgroups: comp.os.msdos.djgpp Subject: Re: Using sprites with allegro Date: 25 Feb 1998 22:04:06 GMT Lines: 11 Message-ID: <19980225220401.RAA28287@ladder03.news.aol.com> NNTP-Posting-Host: ladder03.news.aol.com Organization: AOL http://www.aol.com References: <34EADDFF DOT 2718 AT teamw DOT com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk If I am not mistaken, the Allegro Blit command copies one section to another, overwriting whatever is there. Instead, use the draw_sprite() function. You do noot have to store the sprite image as a RLE image, you can use the Allegro grabber and store it as a bitmap. Remember to "fill in" the areas around your sprite with the color black, with a paint program. Although you CAN change which color the draw_sprite() function does not draw, by default the function will not draw anything in black. (Thus, not erasing the background). Hope that helps, Paul Turnberg