FadeOut (int speed)
Fades the screen out to black. SPEED is the speed of the fade, from 1
(slowest) to 64 (instant). You can restore the screen with FadeIn.
NOTE: This is a blocking function.
Example:
FadeOut(30);
Wait(40);
FadeIn(10);
will fade the screen to black, wait 1 sec (40 game cycles) and then fade in again.
See Also: CyclePalette, FadeIn,
SetFadeColor
|