1exblend(3) Allegro manual exblend(3)
2
3
4
6 exblend - Using translucency in truecolor modes. Allegro game program‐
7 ming library.
8
10 #include <allegro.h>
11
12
13 Example exblend
14
16 This program demonstrates how to use the translucency functions in
17 truecolor video modes. Two image files are loaded from disk and dis‐
18 played moving slowly around the screen. One of the images will be
19 tinted to different colors. The other image will be faded out with a
20 varying alpha strength, and drawn on top of the other image.
21
22
24 BITMAP(3), END_OF_MAIN(3), PALETTE(3), SCREEN_H(3), SCREEN_W(3), alle‐
25 gro_error(3), allegro_init(3), allegro_message(3), blit(3), circle(3),
26 clear_bitmap(3), clear_keybuf(3), create_bitmap(3), destroy_bitmap(3),
27 draw_lit_sprite(3), draw_trans_sprite(3), fixcos(3), fixsin(3), fix‐
28 toi(3), font(3), install_keyboard(3), install_timer(3), itofix(3), key‐
29 pressed(3), load_bitmap(3), makecol(3), replace_filename(3),
30 retrace_count(3), screen(3), set_color_conversion(3),
31 set_color_depth(3), set_gfx_mode(3), set_trans_blender(3),
32 textprintf_ex(3), vsync(3)
33
34
35
36Allegro version 4.4.2 exblend(3)