I'm 0% pure.
Oh was I supposed to actually TAKE the test??
Oh was I supposed to actually TAKE the test??
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function fade_in_string(int textoverlay,string str,int x,int y,int width,int font,int speed) {
int Color=0;
while (Color<63422) {
Color+=2113;
SetTextOverlay(textoverlay,x,y,width,font,Color,str);
Wait(12-speed);
}
SetTextOverlay(textoverlay,x,y,width,font,65535,str);
}
function fade_out_string(int textoverlay,string str,int x,int y,int width,int font,int speed) {
int Color=65535;
while (Color>2113) {
Color-=2113;
SetTextOverlay(textoverlay,x,y,width,font,Color,str);
Wait(12-speed);
}
SetTextOverlay(textoverlay,x,y,width,font,0,str);
}
function do_fade() {
// here's how I would use the above functions:
int to;
// This line can remain constant
to=CreateTextOverlay(0,0,0,0,0,"");
// fade text in
fade_in_string(to,"Fading text",100,70,200,1,9);
// wait a little while
Wait(40);
// fade text out
fade_out_string(to,"Fading text",100,70,200,1,9);
// clean up
RemoveOverlay(to);
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.034 seconds with 16 queries.