extrans2(3)
β¨ NAME β¨
okay so extrans2(3) β drawing flipped, translucent, and tinted sprites, brought to you by the Allegro game programming library. That's the whole vibe: flipped + translucent + tinted, all at once, bestie. π
β¨ SYNOPSIS β¨
#include <allegro.h>
Example extrans2
π DESCRIPTION π
This program is literally a demo. It shows you how to draw trans and lit sprites and flip them at the same time, using the 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. That's it β no cap, that's the whole plot. π
π SEE ALSO π
BITMAP(3)END_OF_MAIN(3)allegro_error(3)allegro_init(3)allegro_message(3)blit(3)clear_bitmap(3)create_bitmap(3)destroy_bitmap(3)draw_sprite_ex(3)font(3)install_keyboard(3)install_timer(3)key(3)load_bitmap(3)makecol(3)replace_filename(3)rest(3)screen(3)set_color_depth(3)set_gfx_mode(3)set_trans_blender(3)stretch_blit(3)textout_ex(3)
okay bestie, that's the page. It came from the Allegro manual, version 4.4.3, and the manual page name is extrans2(3). The footer didn't have a date on it, so no date to spill β just source Allegro + version 4.4.3. Bye! πβ¨
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms