Fade Up fades the gamma of the screen up to normal level.
Fade Down fades the gamma of the screen to complete
time taken specifies how long it should take to
do this and is measured in milliseconds (1/1000th of a second).
If no parameter is passed then it defaults to 1 second (1000
Fade To is a more powerful fade command. It can specify
colours and percentages to fade between.
red, green and blue are the colour
components to fade to. Each of these can be a value between 0
and 255. They are mixed together to produce one colour.
percent is the percentage (between 0 and 100) of how
much to fade the screen to.
This command can be used in
a sequence e.g.
Fade To 255,0,0,0,1000
Fade To 0,255,0,0,1000
Fade To 0,0,255,0,1000
Fade To 0,0,0,100,1000
This sequence will fade the
screen to red, then across to blue, and finally green. It then
fades up from green to normal. Each of these phases takes one
second so the entire transition would take 4 seconds.