FadeIn (int speed)
Fades in from a black screen to the current palette. This is used to restore
the screen after a FadeOut call. SPEED is from 1 (slowest) to 64 (fastest).
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, FadeOut,
SetFadeColor
|