exblend(3alleg4)
β¨ exblend β¨
okay bestie, so this one lives in the 3alleg4 manual β it's exblend from the Allegro game programming library, and it's literally all about making things look β¨see-throughβ¨ in truecolor mode π
π NAME π
exblend β using translucency in truecolor modes. Allegro game programming library. no cap, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
#include <allegro.h>
Example exblend
π DESCRIPTION π
okay so here's the tea β β this program is a whole demo of how to use the translucency functions in truecolor video modes. two image files get loaded from disk and then they just... float around the screen, slowly, living their best main character lives π§
one of the images gets tinted to different colors. the other one gets faded out with a varying alpha strength, and then it's drawn on top of the other image. layering!! it's giving transparency realness π
π SEE ALSO π
like, go read these next, fr fr π«Ά
BITMAP(3alleg4), END_OF_MAIN(3alleg4), PALETTE(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), circle(3alleg4), clear_bitmap(3alleg4), clear_keybuf(3alleg4), create_bitmap(3alleg4), destroy_bitmap(3alleg4), draw_lit_sprite(3alleg4), draw_trans_sprite(3alleg4), fixcos(3alleg4), fixsin(3alleg4), fixtoi(3alleg4), font(3alleg4), install_keyboard(3alleg4), install_timer(3alleg4), itofix(3alleg4), keypressed(3alleg4), load_bitmap(3alleg4), makecol(3alleg4), replace_filename(3alleg4), retrace_count(3alleg4), screen(3alleg4), set_color_conversion(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_trans_blender(3alleg4), textprintf_ex(3alleg4), vsync(3alleg4)
π reminder: the translucency stuff here is for truecolor modes specifically, so don't come for me if you're living in palette land π
and that's the whole page!! this one came from Allegro version 4.4.3 β the exblend(3alleg4) era, iconic behavior only πβ
later bestie, go blend something pretty ππ
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms