alpha
Transparency of a translucent
TEXT; the TRANSLUCENT flag must be
also set.
At 0 the text is totally transparent, at 100 it is totally intransparent.
This way texts can smoothly be faded in and out.
Range:
0 .. 100 (default:
50)
Type:
varExample:
TEXT* welcome_txt =
{
...
alpha = 90;
flags = center_x, narrow, transparent, visible;
}
function fadeout()
{
while(welcome.alpha > 0)
{
welcome.alpha -= time_step;
wait(1);
}
}
See also:
TEXT,
flags, text_outline
► latest
version online