|
function textfadein(txt$,x,y,c,d) for f=0 to 255 step 8 if c = 0 then ink rgb(f,f,f),0 if c = 1 then ink rgb(f,0,0),0 if c = 2 then ink rgb(0,f,0),0 if c = 3 then ink rgb(0,0,f),0 center text x,y,txt$ wait d next f endfunction
function textfadeout(txt$,x,y,c,d) for f=255 to 0 step -8 if c = 0 then ink rgb(f,f,f),0 if c = 1 then ink rgb(f,0,0),0 if c = 2 then ink rgb(0,f,0),0 if c = 3 then ink rgb(0,0,f),0 center text x,y,txt$ wait d next f endfunction
|
|