Mail Archives: djgpp/1998/02/25/17:16:45
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
- Raw text -