fade_in_range(3)
β¨ NAME β¨
fade_in_range β gradually fades a part of the palette from black. This page is from the Allegro manual, aka the Allegro game programming library. Bestie, it's giving classic Allegro energy. π
β¨ SYNOPSIS β¨
#include <allegro.h>
void fade_in_range(const PALETTE p, int speed, int from, int to);
β¨ DESCRIPTION β¨
Okay so fade_in_range is the one that gradually fades a part of the palette from a black screen to the specified palette. It's from the Allegro manual β the Allegro game programming library, iykyk. β¨
The speed goes from 1 (the slowest, like watching paint dry but make it aesthetic) up to 64 (instantaneous, blink and you missed it). π
This routine only affects colors between from and to (inclusive: pass 0 and 255 to fade the entire palette). Periodt.
Note, bestie: 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. So like, be aware. π«Ά
β¨ SEE ALSO β¨
And that's the whole page, no cap. This is from the Allegro manual, and the footer is giving Allegro version 4.4.3 energy with the fade_in_range(3) tag. No date in sight, just vibes. Byeee! πβ¨
π¦ 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