fade_out(3alleg4)
β¨ fade_out β¨
okay bestie, welcome to the Allegro manual π this one's fade_out(3alleg4), and it's literally the glow-down button for your palette π
π NAME π
fade_out β gradually fades the palette to black π€ it's part of the Allegro game programming library, no cap.
π¦ SYNOPSIS π¦
#include <allegro.h>
void fade_out(int speed);
π DESCRIPTION π
so the vibe here is: you're looking at the current palette, and this function takes you from that to a black screen, all smooth and gradual, one lil step at a time π«Ά
the speed parameter runs from 1 β which is the slowest, the most dramatic, the main-character entrance β all the way up to 64, which is instantaneous. like, blink and it's gone π
β οΈ okay two things, and they matter: - this function will block your game while the fade is in effect. your whole game is just standing there watching the fade happen. no multitasking, no chores, nothing. it's giving "one thing at a time" energy π - it won't work right visually if you're not in an 8 bit color depth resolution. fr fr, check that first or the whole thing's gonna look cursed π
πΈ SEE ALSO πΈ
fade_in(3alleg4)πfade_from(3alleg4)πfade_interpolate(3alleg4)π¨fade_in_range(3alleg4)π§ex12bit(3alleg4)β
and that's the whole page, bestie, you ate it π
β¨ this was the fade_out(3alleg4) page from the Allegro manual, version 4.4.3 π slay, go fade something out ππ¦
π¦ 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