extrans2(3) Drawing flipped, translucent and tinted sprites. Allegro game programming library.


#include <allegro.h>

Example extrans2


This program demonstrates how to draw trans and lit sprites and flip them at the same time, using draw_sprite_ex() function. It displays several images moving around using different drawing modes while you can press space key to change the flipping orientation.