Overview
Members
Chapter
Previous
Next
|
|
|
|
NAME: FadeTo.
PURPOSE: Smoothly fades the current palette to the specified colour.
NOTE: This function is for 8bit color modes only.
INPUT: r - RED component of the color to fade to
b - BLUE component of the color to fade to
g - GREEN component of the color to fade to
delay - the amount of time to delay between palette adjustments.
0 - no delay
10 - about 1 second
25 - about 2 seconds
50 - about 4 seconds
100 - about 8 seconds
RETURNS: nothing.