I have a sprite with different background color. I want to blit this sprite into the game without its background color appearing. Is there a function to handle this type of situation in allegro 4? I know if the background is pink, it will not appear but how do I handle backgrounds of other colors?
Maybe something similar to this?