.\" Generated by the Allegro makedoc utility .TH exalpha 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME exalpha \- Creating and using 32 bit RGBA sprites. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B Example exalpha .SH DESCRIPTION This program demonstrates how to use the 32 bit RGBA translucency functions to store an alpha channel along with a bitmap graphic. Two images are loaded from disk. One will be used for the background and the other as a sprite. The example generates an alpha channel for the sprite image, composing the 32 bit RGBA bitmap during runtime, and draws it at the position of the mouse cursor. .SH SEE ALSO .BR BITMAP (3alleg4), .BR END_OF_MAIN (3alleg4), .BR SCREEN_H (3alleg4), .BR SCREEN_W (3alleg4), .BR allegro_error (3alleg4), .BR allegro_init (3alleg4), .BR allegro_message (3alleg4), .BR blit (3alleg4), .BR clear_keybuf (3alleg4), .BR create_bitmap (3alleg4), .BR destroy_bitmap (3alleg4), .BR draw_trans_sprite (3alleg4), .BR drawing_mode (3alleg4), .BR font (3alleg4), .BR getb (3alleg4), .BR getg (3alleg4), .BR getpixel (3alleg4), .BR getr (3alleg4), .BR install_keyboard (3alleg4), .BR install_mouse (3alleg4), .BR install_timer (3alleg4), .BR keypressed (3alleg4), .BR load_bitmap (3alleg4), .BR makecol (3alleg4), .BR mouse_x (3alleg4), .BR mouse_y (3alleg4), .BR putpixel (3alleg4), .BR rectfill (3alleg4), .BR replace_filename (3alleg4), .BR screen (3alleg4), .BR set_alpha_blender (3alleg4), .BR set_color_conversion (3alleg4), .BR set_color_depth (3alleg4), .BR set_gfx_mode (3alleg4), .BR set_multiply_blender (3alleg4), .BR set_write_alpha_blender (3alleg4), .BR solid_mode (3alleg4), .BR stretch_blit (3alleg4), .BR textprintf_ex (3alleg4)