set_dissolve_blender(3)

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

✨ set_dissolve_blender ✨

okay bestie, we're diving into the Allegro manual for set_dissolve_blender(3) and honestly? this one is a whole vibe. it's a little function that makes your pixels ✨dissolve✨ and i'm obsessed.


πŸ’– NAME πŸ’–

set_dissolve_blender β€” turns on a dissolve blender mode. it's part of the Allegro game programming library, and yes, it's giving fancy truecolor sparkle energy. πŸ¦‹


🌸 SYNOPSIS 🌸

#include <allegro.h>

void set_dissolve_blender(int r, int g, int b, int a);

πŸŽ€ DESCRIPTION πŸŽ€

so what does it actually do, bestie? it enables a dissolve blender mode for combining translucent or lit truecolor pixels. ✨

here's the tea: it randomly replaces the colours of some pixels in the destination image with those of the source image. yep β€” random. like a little pixel lottery. 🎰

and the number of pixels that get replaced? that depends on the alpha value β€” higher value, more pixels replaced. you get the idea :) πŸ’…

lowkey iconic behaviour, honestly. randomness + alpha = dissolve. no cap.

🌈 SEE ALSO 🌈


and that's the whole page, bestie!! 🫢 you now know everything the manual knows about set_dissolve_blender β€” not a single detail skipped, periodt. πŸ’–

shoutout to the Allegro girlies behind version 4.4.3 for blessing us with this one 🌸 β€” the page is dated in that footer, and this little sign-off is holding its place. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from