exblend(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– exblend β€” bestie's guide to truecolor translucency πŸ’–

okay so this is from the Allegro manual, page exblend(3), and it's literally an example program from the Allegro game programming library. sit down, grab a boba, we're doing transparency today ✨


🌸 NAME 🌸

exblend β€” using translucency in truecolor modes. it's an Allegro game programming library thing, and yes it's giving main character energy πŸ’…


✨ SYNOPSIS ✨

#include <allegro.h>

Example exblend

no cap, that's the whole vibe. include the header, run the example 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: this program demonstrates how to use the translucency functions in truecolor video modes. iconic behaviour honestly.

two image files are loaded from disk and displayed moving slowly around the screen. lowkey hypnotic. 🌈

  • 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 ✨

so you get one pic going through its color era while the other one gets progressively more see-through and layered on top. it's giving ghosting but in a cute, intentional, graphics-programming way πŸ’€πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group showed up for this one, fr fr:


that's the whole page, bestie. no notes. go blend something translucent and slay πŸ’œ

this little love letter to transparency is brought to you by Allegro, version 4.4.3 🌟 and the page is exblend(3) β€” mwah, bye! πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from