Does anybody know how to make a sprite appear in front of a background?

Well, the title says it all I was wondering how to make a sprite appear in front of a background using the allegro library cause when i make the background the sprite i made disappears behind it. If anybody knows how to do this please post the source code.
You need to draw your scene from back to front. Draw your background first, then draw everything that goes on top of it.
oh, ok thanks
Topic archived. No new replies allowed.