- var ws = new ActiveXObject("WScript.Shell");
- var SW = window.screen.width-98;SH = window.screen.height-84;
- var endW =window.screen.width-99+55;endH =-80;
- var oldX=-1;oldY=-1;goy=0;gox=0;Cutpoint=0;markW=0;markH=0;Xtakepoint=0;Ytakepoint=0;point=0;PX=SW/2;PY=SH/2;nx=0
- var EColor="#FF0000#EE0000#DD0000#CC0000#BB0000#AA0000#990000#880000#770000#660000#770000#880000#990000#AA0000#BB0000#CC0000#DD0000#EE0000";
- DColor="#FF0F0F#FF3F0F#FF6F0F#FF9F0F#FFCF0F#FFFF0F#CFFF0F#9FFF0F#6FFF0F#3FFF0F#0FFF0F#0FFF3F#0FFF6F#0FFF9F#0FFFCF#0FFFFF#0FCFFF#0F9FFF#0F6FFF#0F3FFF#0F0FFF#3F0FFF#6F0FFF#9F0FFF#CF0FFF#FF0FFF#FF0FCF#FF0F9F#FF0F6F#FF0F3F"
- BAT = "4.1,0,0,▓,f$3,,,,c0$,1.07,,,$,0.6,,,$,1.07,0.82,,$,0.57,,,$,0,,,$,0.07,0.74,,80$,1,,,$,0.5,,,$,1,0.65,,$,0.5,,,$,0.07,0.36,,$,0.5,,,$,1,,,$0.7,0.59,0.5,,000080$,1,,,$,2,,,$,2.5,,,$,3,,,$,4,,,$,5,,,$,6,,,$,7,,,$,7.2,,,$4.3,0.06,0.25,,f$,0.42,,,$0.7,7.2,0.5,,0$,6.6,,,$,5.7,,,$0.5,7.9,1,,c0$,10.1,,,$,9,,,$2,1.05,1.3,●,808000$,0.75,1.15,,$,1.45,,,ffff00$1,2.78,1.95,▊,80$,,2.35,,$2,1.62,0.84,|,0$,1.6,,,$,1.45,1,-,$,,0.96,,$,1.39,,,$,,1,,$,1.58,1.35,|,$,1.54,,,$,1.4,1.54,-,$,,1.5,,$,1.38,1.35,|,$,1.34,,,$3,0.87,0.54,-,ffff00$,0.92,,,$,0.95,0.89,,f$,0.85,,,$0.5,5.88,5.25,▊,80$,5.6,,,$,5.45,6.9,▓,808000$,5.35,,,$1,3.35,4,,f$,1.65,,,$,1.85,,,$2,1.12,1.24,|,0$,1.08,,,$,1.01,,,ffff00$,0.97,,,$,1,1.48,-,0$,,1.44,,$1,1.7,2.8,▓,808000$,1.2,3.3,,$,1.03,3.7,,f$,1.3,2.75,,808000$,0.58,2.85,,f$,,2.75,,$,1.83,2.26,,808000$,1.91,,,$,1.22,1.55,,f$2.8,0.74,0.32,-,$,,0.38,,$,0.5,0.35,,0$,0.41,,,f$,0.47,0.7,,0$,0.53,0.63,,$,0.46,,,808000$2.5,0.57,0.69,|,0$2.8,0.35,,-,80$,,0.77,,f$2.5,0.51,0.66,,$1,0.9,2.3,▓,808000$,0.7,2.9,,f$,,2.2,,$,1.05,1.95,,$1.5,1.48,1.6,|,$,1.57,,,$,1.56,,,$,1.9,1.2,,$,1.94,,,$,1.64,1.68,-,$,,1.62,,$0.3,8.4,10.32,▓,ffff00$,8.44,9,,808000$0.26,7.88,13.8,,ffff00$,8.92,,,$,8.58,,,$,9.95,9.6,,$,9.75,,,$,9.65,,,$,9.55,,,$,9.45,,,$,8.25,12,,$,11.25,15.5,,$,,14,,$,,13.4,,$,13.15,13.8,,0$1.9,1.7,1.48,-,$,,1.5,,$,1.9,1.55,,$,,1.57,,$,2.1,1.34,,$,,1.38,,$,,0.98,,$,,0.95,,$,1.8,0.65,,808000$,1.9,,,$,2.1,1.3,,$,,1.25,,$,,1.2,,$,,1.17,,$,1.9,1.47,,$,,1.43,,$,,1.39,,$1.5,2.65,2.36,|,0$,2.7,,,$,2.93,1.95,,$,2.95,,,$,2.65,1.15,,$,2.7,,,$1.9,2.13,1.35,-,$,1.88,0.75,,f$,,0.8,,$,2.08,1.05,,$,,1.1,,$,1.9,,,$,,1.05,,$1.4,2.43,1.55,|,808000$,2.48,,,$1.9,1.9,1.15,-,f$,1.7,,,$,1.5,,,$,1.4,,,$0.3,12.65,9,▓,808000$1.4,3.16,1.85,|,0$,3.12,,,$,2.92,1.3,,$,2.86,,,$0.8,4.35,1.87,▓,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.38,,,$,0.8,,,$,0.95,,,$0.25,18.4,23.3,▓,0$3.5,0.09,0.77,_,$,0.38,,,$,0.8,,,$,0.98,,,$0.25,0.4,23.9,▓,9$,0,23.3,,$,0.4,,,80$2.5,1.4,0,-,0$,1.1,,,$,0.25,,,$,0.45,,,$,0.25,0.15,,$,0.45,,,$,0.25,0.45,,$,0.45,,,$,0.25,0.66,,$,0.45,,,$,0.65,,,$,0.85,,,$,1.05,,,$,1.25,,,$,1.4,,,$,0.25,0.81,,$,0.45,,,$,0.65,,,$,0.85,,,$,1.05,,,$,1.25,,,$,1.4,,,$,0.25,0.96,,$,0.45,,,$,0.65,,,$,0.85,,,$,1.05,,,$,1.25,,,$,1.4,,,$,0.25,1.11,,$,0.45,,,$,0.65,,,$,0.85,,,$,1.05,,,$,1.25,,,$,1.4,,,$,0.25,1.35,,$,0.45,,,$,0.25,1.5,,$,0.45,,,$1.26,1.7,0.8,▓,f$0.26,18,1.4,,80$,,1.9,,$,,2.4,,$0.25,19.9,22.9,,c0$,19.4,23.2,,$,19.2,,,$3,1.67,1.7,|,0$,1.3,1.07,_,$,,1.09,,$0.23,22,25.6,▓,"
- if (BatStr != 3) {
- CColor=DColor;
- var X = getrandom(1,SW);Y = getrandom(1,SH);
- var RW = getrandom(1,SW);RH = getrandom(1,SH);
- window.moveTo(RW,RH);
- var Speed = getrandom(2,10);
- setInterval("ChangeICON(BatStr)",0);
- starC = setInterval('starcolor("ALL")',50);
- show=setInterval("move()",1);
- } else {
- CColor=EColor
- show2=setInterval("ChangeICON(BatStr)",0);
- }
- function move(j,k,l){
- if( RH==Y && RW==X ){
- markW = getrandom(1,SW);
- markH = getrandom(1,SH);
- Speed = getrandom(2,10);
- if ( l == 1) {
- Speed = getrandom(7,10);
- markW = j;
- markH = k;
- }
- if(markW>X){Xtakepoint = markW-X;}
- if(markW<X){Xtakepoint = X-markW;}
- if(markH>Y){Ytakepoint = markH-Y;}
- if(markH<Y){Ytakepoint = Y-markH;}
- }
- point+=1;
- if(Xtakepoint>Ytakepoint){
- Cutpoint = Xtakepoint/Speed+1;
- Xnub=Cutpoint-point;Ynub=point;
- }else{
- Cutpoint = Ytakepoint/Speed+1;
- Ynub=Cutpoint-point;Xnub=point;
- }
- Xhalf=Xtakepoint/Cutpoint;Yhalf=Ytakepoint/Cutpoint;
- goX=Math.round(Xhalf*2/Cutpoint*Xnub);
- goY=Math.round(Yhalf*2/Cutpoint*Ynub);
- if(markW>X){X = X+goX;nx+=1}
- if(markW<X){X = X-goX;nx+=1}
- if(markH>Y){Y = Y+goY;nx+=1}
- if(markH<Y){Y = Y-goY;nx+=1}
- window.moveTo(X,Y);
- if (( point>Cutpoint ) || (oldX==X && oldY==Y)){
- RW=X;RH=Y;point=0;
- }
- oldX=X;oldY=Y;
- if( l == 1){
- if ((Y==PY&&nx==1)||(X==PX&&nx==1)||(X==markW&&Y==markH)){
- window.moveTo(PX,PY);
- clearInterval(show2);
- setTimeout("show=setInterval('move()',1)", 10000);
- }
- }
- nx=0;
- }
- function move1(i){
- try {clearInterval(onbutter);} catch (e) {}
- if(i=="on"){
- try {clearInterval(starC);} catch (e) {}
- document.getElementById("exitbutter").style.background = "#660000";
- document.getElementById("exitbutter").style.color = "#CC0000";
- if (endH<0){
- endW-=11;endH+=16;
- window.moveTo(endW,endH);
- onbutter=setInterval('move1("on")',1);
- return;
- }
- CColor="#CCCCCC#660000"
- starC = setInterval("starcolor()",150);
- }
- if(i=="off"){
- if (endH>-80){
- endW+=11;endH-=16;
- window.moveTo(endW,endH);
- onbutter=setInterval('move1("off")',1);
- return;
- }
- document.getElementById('X').style.visibility = "visible";
- try {clearInterval(starC);} catch (e) {}
- CColor=EColor
- starC = setInterval('starcolor("off")',20);
- }
- }
- function starcolor(i){
- CColorA=CColor.slice(0,7);CColorB=CColor.slice(7);
- if (i=="off"){
- document.getElementById('exitbutter').style.background = CColorA;
- }
- if (i!="ALL"){
- document.getElementById('exitbutter').style.color = CColorA;
- } else {
- document.getElementById('iconNON').style.background = CColorA;
- }
- CColor=(CColorB+CColorA);
- }
- function ChangeICON(i){
- if ( i == 1) {j="BAT";k="TXT";l="iconNON";m="iconexit";n="98";o="84";p="2";}
- if ( i == 2) {j="TXT";k="BAT";l="iconNON";m="iconexit";n="84";o="98";p="1";}
- if ( i == 3) {j="iconexit";k="BAT";l="iconNON";m="TXT";}
- if ((i != 3)&&(Gamestart != 0)) Changesize(k,'-');
- document.getElementById(m).style.visibility = "hidden";
- document.getElementById(k).style.visibility = "hidden";
- document.getElementById(j).style.visibility = "visible";
- if (i != 3){
- document.getElementById(l).style.visibility = "visible";
- SW =window.screen.width-n;
- SH =window.screen.height-o;
- setTimeout("Changesize(k,'+')", 8000);
- BatStr=p;
- } else {
- if (Gamestart == 0) {
- window.resizeTo(99,99);
- window.moveTo(endW,endH);
- clearInterval(show2);
- Gamestart=1;
- starC = setInterval('starcolor("off")',20);
- } else {
- if (i == "off") {
- move1("off");
- } else {
- document.getElementById('X').style.visibility = "hidden";
- move1("on");
- }
- }
- return;
- }
- Gamestart=1;
- }
复制代码
|