You are viewing our Forum Archives. To view or take place in current topics click here.
Color changing scroller.
Posted:

Color changing scroller.Posted:

I_Rage_Hard
  • Challenger
Status: Offline
Joined: Aug 15, 201013Year Member
Posts: 161
Reputation Power: 6
Status: Offline
Joined: Aug 15, 201013Year Member
Posts: 161
Reputation Power: 6
Simplest code ever but no ones seem to have thought of it yet and I feel it looks pretty cool so.
tog_flash()
{
 if(!IsDefined(self.flash))
{
self thread flashing();
self.flash = true;
}
else
{
self notify("flash_off");
self.flash = undefined;
}
}

flashing()
{
self endon("flash_off");
for(;;)
{
self thread ColorScroll((135/255),(206/255),(250/250));
wait .5;
self thread ColorScroll(1,(36/255),0);
wait .5;
self thread ColorScroll(0,0,1);
wait .5;
self thread ColorScroll(0,1,0);
wait .5;
self thread ColorScroll(1,0,0);
wait .5;
self thread ColorScroll(0.5450980392156863,0.2705882352941176,0.0745098039215686);
wait .5;
self thread ColorScroll(0,1,1);
wait .5;
self thread ColorScroll(1,1,0);
wait .5;
self thread ColorScroll(0.6274509803921569,0.1254901960784314,0.9411764705882353);
wait .5;
self thread ColorScroll(1,0.5490196078431373,0);
wait .5;
self thread ColorScroll(0.196078431372549,0.803921568627451,0.196078431372549);
wait .5;
self thread ColorScroll(1,(188/255),(33/255));
wait .5;
self thread ColorScroll(1,0.0784313725490196,0.5764705882352941);
wait .5;
}
}

Put this in phoenix figure out how to thread it your selfs.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.