Your company here ā€” click to reach over 10,000 unique daily visitors

exblend - Man Page

Using translucency in truecolor modes. Allegro game programming library.


#include <allegro.h>

Example exblend


This program demonstrates how to use the translucency functions in truecolor video modes. Two image files are loaded from disk and displayed moving slowly around the screen. One of the images will be tinted to different colors. The other image will be faded out with a varying alpha strength, and drawn on top of the other image.

See Also

BITMAP(3), END_OF_MAIN(3), PALETTE(3), SCREEN_H(3), SCREEN_W(3), allegro_error(3), allegro_init(3), allegro_message(3), blit(3), circle(3), clear_bitmap(3), clear_keybuf(3), create_bitmap(3), destroy_bitmap(3), draw_lit_sprite(3), draw_trans_sprite(3), fixcos(3), fixsin(3), fixtoi(3), font(3), install_keyboard(3), install_timer(3), itofix(3), keypressed(3), load_bitmap(3), makecol(3), replace_filename(3), retrace_count(3), screen(3), set_color_conversion(3), set_color_depth(3), set_gfx_mode(3), set_trans_blender(3), textprintf_ex(3), vsync(3)

Referenced By

circle(3), draw_lit_sprite(3), draw_trans_sprite(3), fixcos(3), fixsin(3), fixtoi(3), itofix(3), retrace_count(3), set_color_conversion(3), set_trans_blender(3).

version 4.4.3 Allegro manual