extrans2 - Drawing flipped, translucent and tinted sprites. Allegro game programming library.
Contents
Description
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.
Name
extrans2 - Drawing flipped, translucent and tinted sprites. Allegro game programming library.
See Also
BITMAP(3alleg4), END_OF_MAIN(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), clear_bitmap(3alleg4), create_bitmap(3alleg4), destroy_bitmap(3alleg4), draw_sprite_ex(3alleg4), font(3alleg4), install_keyboard(3alleg4), install_timer(3alleg4), key(3alleg4), load_bitmap(3alleg4), makecol(3alleg4), replace_filename(3alleg4), rest(3alleg4), screen(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_trans_blender(3alleg4), stretch_blit(3alleg4), textout_ex(3alleg4) Allegro version 4.4.3 extrans2(3alleg4)
Synopsis
#include<allegro.h>Exampleextrans2
