1fade_out(3) Allegro manual fade_out(3)
2
3
4
6 fade_out - Gradually fades the palette to black. Allegro game programā
7 ming library.
8
10 #include <allegro.h>
11
12
13 void fade_out(int speed);
14
16 Fades gradually from the current palette to a black screen. The speed
17 is from 1 (the slowest) up to 64 (instantaneous).
18
19 Note that this function will block your game while the fade is in
20 effect, and it won't work right visually if you are not in an 8 bit
21 color depth resolution.
22
23
25 fade_in(3), fade_from(3), fade_interpolate(3), fade_in_range(3),
26 ex12bit(3)
27
28
29
30Allegro version 4.4.2 fade_out(3)