Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

exxfade - Truecolor image loading and fades. Allegro game programming library.

Description

       This  program  demonstrates  how  to  load  and display bitmap files in truecolor video modes, and how to
       crossfade between them.  You have to use this example from the command line to specify  as  parameters  a
       number  of  graphic files. Use at least two files to see the graphical effect. The example will crossfade
       from one image to another with each key press until you press the ESC key.

Name

       exxfade - Truecolor image loading and fades. Allegro game programming library.

See Also

BITMAP(3alleg4),   END_OF_MAIN(3alleg4),    PALETTE(3alleg4),    SCREEN_H(3alleg4),    SCREEN_W(3alleg4),
       allegro_error(3alleg4),     allegro_exit(3alleg4),    allegro_init(3alleg4),    allegro_message(3alleg4),
       blit(3alleg4),     create_bitmap(3alleg4),      destroy_bitmap(3alleg4),      draw_trans_sprite(3alleg4),
       install_keyboard(3alleg4),  keypressed(3alleg4),  line(3alleg4),  load_bitmap(3alleg4), readkey(3alleg4),
       rest(3alleg4),      screen(3alleg4),       set_color_conversion(3alleg4),       set_color_depth(3alleg4),
       set_gfx_mode(3alleg4), set_palette(3alleg4), set_trans_blender(3alleg4), vsync(3alleg4)

Allegro                                           version 4.4.3                                 exxfade(3alleg4)

Synopsis

#include<allegro.h>Exampleexxfade

See Also