fade_out(3)
π 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
- 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