fade_out(3)

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

πŸ’– NAME πŸ’–

okay bestie, meet fade_out(3) from the Allegro manual β€” it's a function in the Allegro game programming library that gradually fades the palette to black. iconic behavior, no cap. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

void fade_out(int speed);

🌸 DESCRIPTION 🌸

So basically it fades gradually from the current palette to a black screen. The speed goes from 1 (the slowest, like a dramatic slow-mo) up to 64 (instantaneous, blink and it's gone). πŸ’…

⚠️ Note: this function will block your game while the fade is in effect, and it won't work right visually if you are not in an 8 bit color depth resolution. fr fr, plan accordingly.

πŸŽ€ SEE ALSO πŸŽ€


mwah πŸ’‹ that's the whole fade_out(3) page from the Allegro manual, version 4.4.3 β€” no date printed, just the source/version tea, so that's the footer vibe. bye bestie, go fade responsibly 🫢

πŸ“¦ where this page comes from