HRA: ART RUN

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

128
p128.html / p128.zip
Simulator pretekarskeho auta
88985b
NN 4.04

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<HTML> <HEAD> <TITLE>JavaScript DESTINATION - P128</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- var intervalID = null var intervaltime = 5 var roadL = new Array(50) var roadT = new Array(50) var treeS = new Array(15) var supraS = new Array(15) var treeV = new Array(15) var supraV = new Array(15) var rvV = new Array(15) var truckV = new Array(15) var cData = new Array(9999) var icons = new Array(20) var intFLG=0 var SPEED=0 var treeCount=0 var cPos=1 var DcPos=0 var turn = new Array(50) var Rturn=0 var Dturn=0 var accel=0 var startFLG=-1 var k4FLG=0 var k6FLG=0 var eneCount=0 var eneCount2=0 var eneCount3=0 var bgcolNo=0 var spinFLG=0 var goal=3000 var Rtime=0 icons[0]=new Image();icons[0].src="z0c.gif" icons[1]=new Image();icons[1].src="z2c.gif" icons[2]=new Image();icons[2].src="z3c.gif" icons[4]=new Image();icons[4].src="z4c.gif" icons[5]=new Image();icons[5].src="z5c.gif" icons[6]=new Image();icons[6].src="z1c.gif" icons[7]=new Image();icons[7].src="z7c.gif" icons[8]=new Image();icons[8].src="z9c.gif" icons[9]=new Image();icons[9].src="z8c.gif" icons[10]=new Image();icons[10].src="z6c.gif" icons[11]=new Image();icons[11].src="yashi02.gif" icons[12]=new Image();icons[12].src="yashi01.gif" icons[13]=new Image();icons[13].src="ki0c.gif" icons[14]=new Image();icons[14].src="ki1c.gif" icons[15]=new Image();icons[15].src="goalc.gif" for (ia=0; ia<15; ia++){treeV[ia]=0} for (ia=0; ia<15; ia++){supraV[ia]=1000} for (ia=0; ia<15; ia++){rvV[ia]=1000} for (ia=0; ia<15; ia++){truckV[ia]=1000} for (ia=0; ia<51; ia++){turn[ia]=0} function interval1(){ if (intFLG == 0){ intFLG=1 if (spinFLG>=1){spin()} if (accel==1){speedup()} if (accel==0){speedhl()} if (accel==-1){speeddn()} roadCount=roadCount+SPEED Rtime=Rtime+2 with (Math) { s4=floor(Rtime/600) s3=floor((Rtime-s4*600)/100) s2=floor((Rtime-s4*600-s3*100)/10) s1=Rtime-s4*600-s3*100-s2*10 } document.layers["score"].document.layers[3].top=-16*s4 document.layers["score"].document.layers[2].top=-16*s3 document.layers["score"].document.layers[1].top=-16*s2 document.layers["score"].document.layers[0].top=-16*s1 with (Math) { tmpSPD=floor(SPEED*58.6) s3=floor(tmpSPD/100) s2=floor((tmpSPD-s3*100)/10) s1=tmpSPD-s3*100-s2*10 } document.layers["SPD"].document.layers[2].top=-16*s3 document.layers["SPD"].document.layers[1].top=-16*s2 document.layers["SPD"].document.layers[0].top=-16*s1 if (bgcolNo==0){if (roadCount>=goal/3){ bgcolNo=1;document.layers[0].bgColor="#7FFF7F" }} if (bgcolNo==15){if (roadCount>=goal*2/3){ bgcolNo=21;document.layers[0].bgColor="#CD853F" }} if (bgcolNo==35){if (roadCount>=goal){ bgcolNo=41;document.layers[0].bgColor="#CD853F" }} if (bgcolNo == 55){intSTOP()} tmpcPos=(DcPos-(Dturn*SPEED/30))*2 if (SPEED != 0){ if (cPos>=2.4){if(tmpcPos<0){cPos=cPos+tmpcPos}}else{ if (cPos<=-0.4){if(tmpcPos>0){cPos=cPos+tmpcPos}}else{cPos=cPos+tmpcPos} } } Rturn=0 for (ia=0; ia<33; ia++){ iz=32-ia with (Math) { tmpTR=floor(roadCount+1500/roadL[iz]) tmpT=tmpTR-floor(tmpTR/10)*10 } if (tmpT>=5){roadT[iz]=200+iz*3-1000}else{roadT[iz]=200+iz*3} Dturn=cData[tmpTR];if (ia==0){tmpDturn=Dturn} Rturn=Rturn+Dturn*ia turn[iz]=Rturn } Dturn=tmpDturn for (ia=0; ia<33; ia++){ with (Math){tmpIx=floor(200+turn[ia]-roadL[ia]*cPos);tmpIy=floor(roadT[ia])} document.layers[0].layers[ia+1].moveTo(tmpIx,tmpIy) } tmpSky=document.layers[0].layers[0].left with (Math){tmpSky=tmpSky-round(Dturn*10*SPEED)} if (tmpSky<=-400){tmpSky=tmpSky+400} if (tmpSky>0){tmpSky=tmpSky-400} document.layers[0].layers[0].left=tmpSky with (Math){ tmpRC=roadCount-floor(roadCount/6)*6 tmpTR=treeCount treeCount=floor(roadCount/6) if (treeCount > tmpTR){ for (ie=0; ie<14; ie++){ treeV[14-ie]=treeV[13-ie] } if (floor(random()*3) == 2 ){treeV[0]=0}else{treeV[0]=1} if (bgcolNo>=41){treeV[0]=0} if (bgcolNo>=46){treeV[0]=1} if(bgcolNo>=1){if (bgcolNo<=14){bgcolNo=bgcolNo+1 document.layers[0].layers[34+(bgcolNo-1)*2].document.images[0].src=icons[13].src document.layers[0].layers[35+(bgcolNo-1)*2].document.images[0].src=icons[13].src }} if(bgcolNo>=21){if (bgcolNo<=34){bgcolNo=bgcolNo+1 document.layers[0].layers[34+(bgcolNo-21)*2].document.images[0].src=icons[14].src document.layers[0].layers[35+(bgcolNo-21)*2].document.images[0].src=icons[14].src }} if(bgcolNo>=41){if (bgcolNo<=54){bgcolNo=bgcolNo+1 document.layers[0].layers[34+(bgcolNo-41)*2].document.images[0].src=icons[15].src document.layers[0].layers[35+(bgcolNo-41)*2].document.images[0].src=icons[15].src }} } } for (ic=0; ic<15; ic++){ tmpD=93-ic*6-tmpRC tmpW=3000/tmpD with (Math) { ia=round(tmpW/12) } tmpNR=0 if (ia > 33){ia=49;tmpNR=1000}else{if (ia < 0){ia=0}} tmpL=200+turn[ia]-(tmpW/2*cPos) tmproadT=200-treeS[ic]/2 with(Math){ tmpIx1=floor(tmpL-treeS[ic]);tmpIy1=floor(tmproadT+treeV[ic]*1000+tmpNR) tmpIx2=floor(tmpL+tmpW);tmpIy2=floor(tmproadT+treeV[ic]*1000+tmpNR) } document.layers[0].layers[34+ic*2].moveTo(tmpIx1,tmpIy1) document.layers[0].layers[34+ic*2+1].moveTo(tmpIx2,tmpIy2) } tmpSmov=0 if (SPEED >= 5){tmpSmov=1} else{ if (SPEED >= 4){eneCount=eneCount+1;if (eneCount==2){eneCount=0;tmpSmov=1}} else{ if (SPEED >= 3){tmpSmov=0} else{ if (SPEED >= 2){eneCount=eneCount+1;if (eneCount==2){eneCount=0;tmpSmov=2}} else{ tmpSmov=2 } } } } if (tmpSmov==1){ with (Math){ for (ie=0; ie<14; ie++){ supraV[14-ie]=supraV[13-ie] rvV[14-ie]=rvV[13-ie] truckV[14-ie]=truckV[13-ie] } supraV[0]=1000 rvV[0]=1000 truckV[0]=1000 tmpRdm=floor(random()*100) if (tmpRdm <= 3 ){supraV[0]=tmpRdm} tmpRdm2=floor(random()*100) if (tmpRdm2 <= 3 ){rvV[0]=tmpRdm2} tmpRdm3=floor(random()*100) if (tmpRdm3 <= 3 ){truckV[0]=tmpRdm3} } } if (tmpSmov==2){ with (Math){ supraV[14]=1000;rvV[14]=1000;truckV[14]=1000 for (ie=0; ie<14; ie++){ supraV[ie]=supraV[ie+1] rvV[ie]=rvV[ie+1] truckV[ie]=truckV[ie+1] } } } for (ic=0; ic<15; ic++){ tmpD=93-ic*6-tmpRC tmpW=3000/tmpD with (Math) { ia=round(tmpW/12) } tmpNR=0;tmpNR2=0;tmpNR3=0 if (ia > 33){ia=49;tmpNR=1000;tmpNR2=1000;tmpNR3=1000}else{if (ia < 0){ia=0}} if (supraV[ic]==1000){tmpNR=1000} if (rvV[ic]==1000){tmpNR2=1000} if (truckV[ic]==1000){tmpNR3=1000} with(Math){ tmpL=floor(200+turn[ia]-(tmpW/2*cPos)+(tmpW/2*supraV[ic]*0.75)) tmpL2=floor(200+turn[ia]-(tmpW/2*cPos)+(tmpW/2*rvV[ic]*0.75)) tmpL3=floor(200+turn[ia]-(tmpW/2*cPos)+(tmpW/2*truckV[ic]*0.75)) tmproadT=193+supraS[ic] tmproadT2=193+supraS[ic]*0.66 tmproadT3=193+supraS[ic]*0 tmpIx1=floor(tmpL-supraS[ic]);tmpIy1=floor(tmproadT+tmpNR) tmpIx2=floor(tmpL2-supraS[ic]);tmpIy2=floor(tmproadT2+tmpNR2) tmpIx3=floor(tmpL3-supraS[ic]);tmpIy3=floor(tmproadT3+tmpNR3) } document.layers[0].layers[64+ic*3].moveTo(tmpIx1,tmpIy1) document.layers[0].layers[64+ic*3+1].moveTo(tmpIx2,tmpIy2) document.layers[0].layers[64+ic*3+2].moveTo(tmpIx3,tmpIy3) } if (spinFLG==0){ tmpHflg=0 for (ic=0; ic<3; ic++){ tmpHcl=document.layers[0].layers[103+ic].left if (tmpHcl>100){if (tmpHcl<200){ tmpHflg=1 }} } tmpHcl=document.layers[0].layers[62].top if (tmpHcl<200){ tmpHcl=document.layers[0].layers[62].left if (tmpHcl>70){ tmpHflg=1;DcPos=0.1 } } tmpHcl=document.layers[0].layers[63].top if (tmpHcl<170){ tmpHcl=document.layers[0].layers[63].left if (tmpHcl<200){ tmpHflg=1;DcPos=-0.1 } } if (tmpHflg==1){ spinFLG=1 } } intFLG=0 } } function spin(){ if (DcPos<=0){ if (spinFLG==8){spinFLG=0; document.layers["Z"].document.images[0].src=icons[0].src DcPos=0;k4FLG=0;k6FLG=0 } if (spinFLG==7){spinFLG=8;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[5].src } if (spinFLG==6){spinFLG=7;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[10].src } if (spinFLG==5){spinFLG=6;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[9].src } if (spinFLG==4){spinFLG=5;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[8].src } if (spinFLG==3){spinFLG=4;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[7].src } if (spinFLG==2){spinFLG=3;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[6].src } if (spinFLG==1){spinFLG=2;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[4].src } }else{ if (spinFLG==8){spinFLG=0; document.layers["Z"].document.images[0].src=icons[0].src DcPos=0;k4FLG=0;k6FLG=0 } if (spinFLG==7){spinFLG=8;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[4].src } if (spinFLG==6){spinFLG=7;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[6].src } if (spinFLG==5){spinFLG=6;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[7].src } if (spinFLG==4){spinFLG=5;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[8].src } if (spinFLG==3){spinFLG=4;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[9].src } if (spinFLG==2){spinFLG=3;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[10].src } if (spinFLG==1){spinFLG=2;if (SPEED>=1){SPEED=SPEED-1} document.layers["Z"].document.images[0].src=icons[5].src } } } function initG(){ roadCount=0 bgcolNo=0;document.layers[0].bgColor="#FFDFAF" for (ig=0; ig<15; ig++){ document.layers[0].layers[34+ig*2].document.images[0].src=icons[11].src document.layers[0].layers[35+ig*2].document.images[0].src=icons[12].src } for (ic=0; ic<15; ic++){ document.layers[0].layers[64+ic*3].moveTo(0,1000) document.layers[0].layers[64+ic*3+1].moveTo(0,1000) document.layers[0].layers[64+ic*3+2].moveTo(0,1000) } bgcolNo=0 spinFLG=0 Rtime=0 cPos=1 DcPos=0 Rturn=0 for (ia=0; ia<33; ia++){ iz=32-ia with (Math) { tmpTR=floor(roadCount+1500/roadL[iz]) tmpT=tmpTR-floor(tmpTR/10)*10 } if (tmpT>=5){roadT[iz]=200+iz*3-1000}else{roadT[iz]=200+iz*3} Dturn=cData[tmpTR];if (ia==0){tmpDturn=Dturn} Rturn=Rturn+Dturn*ia turn[iz]=Rturn } Dturn=tmpDturn for (ia=0; ia<33; ia++){ with (Math){tmpIx=floor(200+turn[ia]-roadL[ia]*cPos);tmpIy=floor(roadT[ia])} document.layers[0].layers[ia+1].moveTo(tmpIx,tmpIy) } for (ib=0; ib<15; ib++){ with (Math){ tmpD=93-ib*6 tmpW=floor(3000/tmpD) tmpL=floor(200-(tmpW/2)) with (Math) { ia=floor(tmpW/12) } tmpSIZE=ia*6;treeS[ib]=tmpSIZE tmproadT=floor(200+ia*3-tmpSIZE) tmpIx1=floor(tmpL-treeS[ib]);tmpIy1=floor(tmproadT) tmpIx2=floor(tmpL+tmpW);tmpIy2=floor(tmproadT) } document.layers[0].layers[34+ib*2].moveTo(tmpIx1,tmpIy1) document.layers[0].layers[34+ib*2+1].moveTo(tmpIx2,tmpIy2) } document.layers["score"].document.layers[3].top=0 document.layers["score"].document.layers[2].top=0 document.layers["score"].document.layers[1].top=0 document.layers["score"].document.layers[0].top=0 document.layers["SPD"].document.layers[2].top=0 document.layers["SPD"].document.layers[1].top=0 document.layers["SPD"].document.layers[0].top=0 } function intSTART(){ startFLG=1 document.layers["rdy4"].visibility="HIDE" clearInterval(intervalID) intervalID=setInterval("interval1()",intervaltime) } function intSTOP(){ document.embeds[0].stop() document.embeds[1].stop() document.embeds[2].stop() document.embeds[2].play(true) document.embeds[2].setvol(100) startFLG=0 clearInterval(intervalID) intFLG=0 SPEED=0 treeCount=0 DcPos=0 Dturn=0 document.layers["rdyz0"].visibility="SHOW" document.layers["rdyz1"].visibility="SHOW" } function speedup(){if (SPEED < 5){SPEED=SPEED+0.2}} function speedhl(){if (SPEED > 0){SPEED=SPEED-0.2;if(SPEED<0){SPEED=0}}} function speeddn(){if (SPEED > 0){SPEED=SPEED-0.6;if(SPEED<0){SPEED=0}}} function start3(){ document.embeds[0].stop() document.embeds[1].stop() document.embeds[2].stop() document.embeds[1].play(true) document.embeds[1].setvol(100) initG() document.layers["rdyz0"].visibility="HIDE" document.layers["rdyz1"].visibility="HIDE" document.layers["rdy0"].visibility="SHOW" document.layers["rdy3"].visibility="SHOW" intervalID=setInterval("start2()",1000) } function start2(){ clearInterval(intervalID) clearInterval(intervalID) document.layers["rdy3"].visibility="HIDE" document.layers["rdy2"].visibility="SHOW" intervalID=setInterval("start1()",1000) } function start1(){ clearInterval(intervalID) document.layers["rdy2"].visibility="HIDE" document.layers["rdy1"].visibility="SHOW" intervalID=setInterval("start0()",1000) } function start0(){ clearInterval(intervalID) document.layers["rdy0"].visibility="HIDE" document.layers["rdy1"].visibility="HIDE" document.layers["rdy4"].visibility="SHOW" intSTART() } function hardL(inP,lenP){ for (ia=inP; ia<inP+10; ia++){ cData[ia]=-0.1} for (ia=inP+10; ia<inP+20; ia++){ cData[ia]=-0.3} for (ia=inP+20; ia<inP+20+lenP; ia++){ cData[ia]=-0.5} for (ia=inP+20+lenP; ia<inP+30+lenP; ia++){cData[ia]=-0.3} for (ia=inP+30+lenP; ia<inP+40+lenP; ia++){cData[ia]=-0.1} } function hardR(inP,lenP){ for (ia=inP; ia<inP+10; ia++){ cData[ia]=0.1} for (ia=inP+10; ia<inP+20; ia++){ cData[ia]=0.3} for (ia=inP+20; ia<inP+20+lenP; ia++){ cData[ia]=0.5} for (ia=inP+20+lenP; ia<inP+30+lenP; ia++){cData[ia]=0.3} for (ia=inP+30+lenP; ia<inP+40+lenP; ia++){cData[ia]=0.1} } function midL(inP,lenP){ for (ia=inP; ia<inP+10; ia++){ cData[ia]=-0.1} for (ia=inP+10; ia<inP+10+lenP; ia++){ cData[ia]=-0.3} for (ia=inP+10+lenP; ia<inP+20+lenP; ia++){cData[ia]=-0.1} } function midR(inP,lenP){ for (ia=inP; ia<inP+10; ia++){ cData[ia]=0.1} for (ia=inP+10; ia<inP+10+lenP; ia++){ cData[ia]=0.3} for (ia=inP+10+lenP; ia<inP+20+lenP; ia++){cData[ia]=0.1} } function softL(inP,lenP){ for (ia=inP; ia<inP+lenP; ia++){ cData[ia]=-0.1} } function softR(inP,lenP){ for (ia=inP; ia<inP+lenP; ia++){ cData[ia]=0.1} } function keyDown(DnEvents){ k=DnEvents.which keyDownchk() } function keyDownchk(){ if (spinFLG==0){ if (k == 54){k6FLG=1;if (SPEED!=0){ if (k4FLG==1){DcPos=0 document.layers["Z"].document.images[0].src=icons[0].src }else{DcPos=DcPos+0.05; document.layers["Z"].document.images[0].src=icons[2].src } }} if (k == 52){k4FLG=1;if (SPEED!=0){ if (k6FLG==1){DcPos=0; document.layers["Z"].document.images[0].src=icons[0].src }else{DcPos=DcPos-0.05; document.layers["Z"].document.images[0].src=icons[1].src } }} if (k == 90) {accel=1 if (k4FLG==1){if (k6FLG!=1){DcPos=DcPos-0.05; document.layers["Z"].document.images[0].src=icons[4].src }}else{ if (k6FLG==1){DcPos=DcPos+0.05; document.layers["Z"].document.images[0].src=icons[5].src }} } if (k == 122){accel=1 if (k4FLG==1){if (k6FLG!=1){DcPos=DcPos-0.05; document.layers["Z"].document.images[0].src=icons[4].src }}else{ if (k6FLG==1){DcPos=DcPos+0.05; document.layers["Z"].document.images[0].src=icons[5].src }} } if (k == 88) {accel=-1 } if (k == 120){accel=-1 } if (k == 83){if (startFLG==0){start3()}} if (k == 115){if (startFLG==0){start3()}} if (k == 81){intSTOP() } if (k == 113){intSTOP() } }else{ if (k==54){k6FLG=1} if (k==52){k4FLG=1} if (k == 90) {accel=1 } if (k == 122){accel=1 } if (k == 88) {accel=-1 } if (k == 120){accel=-1 } } } function keyUp(UpEvents){ k=UpEvents.which keyUpchk() } function keyUpchk(){ if (spinFLG==0){ if (k == 54){k6FLG=0;if (SPEED!=0){ if (k4FLG!=1){DcPos=0; document.layers["Z"].document.images[0].src=icons[0].src }else{DcPos=DcPos-0.05; document.layers["Z"].document.images[0].src=icons[1].src } }} if (k == 52){k4FLG=0;if (SPEED!=0){ if (k6FLG!=1){DcPos=0; document.layers["Z"].document.images[0].src=icons[0].src }else{DcPos=DcPos+0.05; document.layers["Z"].document.images[0].src=icons[2].src } }} if (k == 90) {accel=0 } if (k == 122){accel=0 } if (k == 88) {accel=0 } if (k == 120){accel=0 } }else{ if (k==54){k6FLG=0} if (k==52){k4FLG=0} if (k == 90) {accel=0 } if (k == 122){accel=0 } if (k == 88) {accel=0 } if (k == 120){accel=0 } } } document.onkeydown = keyDown document.onkeyup = keyUp document.captureEvents(Event.KEYDOWN | Event.KEYUP) //--> </SCRIPT> </HEAD> <BODY BGCOLOR="#7FFFFF" TEXT="#0000FF" ONLOAD="startFLG=0;initG();focus()" > <EMBED SRC="test001.mid" HIDDEN=TRUE> <EMBED SRC="artrun.mid" AUTOSTART=FALSE HIDDEN=TRUE> <EMBED SRC="artrun2.mid" AUTOSTART=FALSE HIDDEN=TRUE> <LAYER NAME="W1" LEFT="16" TOP="16" CLIP="0,0,400,299" BGCOLOR="#FFDFAF"> <LAYER><PRE><IMG SRC="sky0.gif"><IMG SRC="sky0.gif"></PRE></LAYER> <PRE> <SCRIPT LANGUAGE="JavaScript"> <!-- for (ia=0; ia<33; ia++){ tmpW=32+ia*12 tmpL=200-(tmpW/2);roadL[ia]=tmpW/2 tmpT=1500/roadL[ia] with (Math) { tmpT=tmpT-floor(tmpT/10)*10 } if (tmpT>=5){roadT[ia]=200+ia*3-1000}else{roadT[ia]=200+ia*3} document.write("<LAYER TOP="+roadT[ia]+" LEFT="+tmpL+"><IMG HEIGHT=3 WIDTH="+tmpW+" SRC='road0.gif'><BR><IMG HEIGHT=3 WIDTH="+tmpW+" VSPACE=997 SRC='road1.gif'></LAYER>") } for (ib=0; ib<15; ib++){ with (Math){ tmpD=93-ib*6 tmpW=floor(3000/tmpD) tmpL=floor(200-(tmpW/2)) with (Math) { ia=floor(tmpW/12) } tmpSIZE=ia*6;treeS[ib]=tmpSIZE tmproadT=floor(200+ia*3-tmpSIZE) } document.write("<LAYER TOP="+tmproadT+" LEFT="+(tmpL-tmpSIZE)+"><IMG HEIGHT="+tmpSIZE+" WIDTH="+tmpSIZE+" SRC='yashi02.gif'></LAYER><LAYER TOP="+tmproadT+" LEFT="+(tmpL+tmpW)+"><IMG HEIGHT="+tmpSIZE+" WIDTH="+tmpSIZE+" SRC='yashi01.gif'></LAYER>") } for (ib=0; ib<15; ib++){ with (Math){ tmpD=93-ib*6 tmpW=floor(3000/tmpD) tmpL=floor(200+(tmpW/2)*0.8) tmpL2=floor(200+(tmpW/2)*0) tmpL3=floor(200+(tmpW/2)*-1.6) with (Math) { ia=floor(tmpW/12) } tmpSIZE=ia*3;supraS[ib]=tmpSIZE tmproadT=floor(193+ia*3) tmproadT2=floor(193+ia*2) tmproadT3=floor(193+ia*0) } document.write("<LAYER TOP="+tmproadT+" LEFT="+tmpL+"><IMG HEIGHT="+tmpSIZE+" WIDTH="+tmpSIZE*2+" SRC='s0c.gif'></LAYER>") document.write("<LAYER TOP="+tmproadT2+" LEFT="+tmpL2+"><IMG HEIGHT="+tmpSIZE*1.4+" WIDTH="+tmpSIZE*2+" SRC='l0c.gif'></LAYER>") document.write("<LAYER TOP="+tmproadT3+" LEFT="+tmpL3+"><IMG HEIGHT="+tmpSIZE*2+" WIDTH="+tmpSIZE*2+" SRC='t0c.gif'></LAYER>") } for (ia=0; ia<10000; ia++){cData[ia]=0} softR(100,100) midR(200,50) hardR(350,100) hardL(600,100) softR(750,50) midL(850,150) softL(1200,100) hardR(1300,30) hardL(1370,50) midL(1500,200) hardL(1770,100) midR(1950,100) hardR(2090,300) hardL(2450,100) hardR(2590,200) midR(2870,80) //--> </SCRIPT> </PRE> </LAYER> <LAYER NAME="Z" TOP=256 LEFT=166><PRE><IMG SRC="z0c.gif"></PRE></LAYER> <LAYER TOP=316 LEFT=32> <FONT STYLE="font-size:16px" COLOR="#000044"> <PRE>RYCHLOST HORE/DOLE..Z/X L/R ..4/6 (KLAVESNICA) RYCHLOST HORE/DOLE..OBLOHA/ZEM Zatocit..strana (MYS)</PRE> </FONT> </LAYER> <LAYER NAME="rdyz0" TOP=24 LEFT=32> <B><FONT STYLE="font-size:20px">Hraj s KLAVESNICOU alebo MYSOU.</B><BR> </FONT> </LAYER> <LAYER NAME="rdy0" TOP=120 LEFT=170 VISIBILITY=HIDE> <FONT COLOR="#FF0000" STYLE="font-size:25px">PRIPRAV SA !</FONT> </LAYER> <LAYER NAME="rdy1" TOP=170 LEFT=200 VISIBILITY=HIDE> <FONT COLOR="#FF0000" STYLE="font-size:70px">1</FONT> </LAYER> <LAYER NAME="rdy2" TOP=170 LEFT=200 VISIBILITY=HIDE> <FONT COLOR="#FF0000" STYLE="font-size:70px">2</FONT> </LAYER> <LAYER NAME="rdy3" TOP=170 LEFT=200 VISIBILITY=HIDE> <FONT COLOR="#FF0000" STYLE="font-size:70px">3</FONT> </LAYER> <LAYER NAME="rdy4" TOP=140 LEFT=150 VISIBILITY=HIDE> <FONT COLOR="#00FF3F" STYLE="font-size:120px"><B>GO</B></FONT> </LAYER> <LAYER TOP=0 LEFT=0 NAME="score" CLIP="0,0,415,15"> <LAYER TOP="0" LEFT="400"><IMG SRC="number.gif"></LAYER> <LAYER TOP="0" LEFT="380"><IMG SRC="number.gif"></LAYER> <LAYER TOP="0" LEFT="370"><IMG SRC="number.gif"></LAYER> <LAYER TOP="0" LEFT="350"><IMG SRC="number.gif"></LAYER> <LAYER TOP=0 LEFT=390><FONT STYLE="font-size:16px" COLOR="#000000">.</FONT></LAYER> <LAYER TOP=0 LEFT=360><FONT STYLE="font-size:16px" COLOR="#000000">.</FONT></LAYER> <LAYER TOP=0 LEFT=300><TT><FONT STYLE="font-size:16px" COLOR="#000044">CAS</FONT></TT></LAYER> </LAYER> <LAYER TOP=0 LEFT=16 NAME="SPD" CLIP="0,0,150,15"> <LAYER TOP="0" LEFT="80"><IMG SRC="number.gif"></LAYER> <LAYER TOP="0" LEFT="70"><IMG SRC="number.gif"></LAYER> <LAYER TOP="0" LEFT="60"><IMG SRC="number.gif"></LAYER> <LAYER TOP=0 LEFT=0><FONT STYLE="font-size:10px" COLOR="#000000">RYCHLOST</FONT></LAYER> <LAYER TOP=0 LEFT=100><FONT STYLE="font-size:16px" COLOR="#000000">km/h</FONT></LAYER> </LAYER> <LAYER LEFT="424" TOP="16"> <PRE> <FONT STYLE="font-size:32px" COLOR="#000044"><I><B>Art Run</B></I></FONT> <A HREF="javascript:history.back()">Navrat</a> / <a href="priklady-english.html">BACK</A><P> </LAYER> <LAYER TOP=16 LEFT=16 onMouseOver="k=90;keyDownchk()" onMouseOut="k=90;keyUpchk()"> <LAYER TOP=16 LEFT=16 CLIP="0,0,74,199" onMouseOver="if (startFLG==1){if (k4FLG==0){k=52;keyDownchk()}else{k=52;keyDownchk();k=90;keyDownchk()}}"></LAYER> <LAYER TOP=16 LEFT=91 CLIP="0,0,74,199" onMouseOver="if (startFLG==1){if (k4FLG==1){DcPos=0};k=52;keyDownchk()}"></LAYER> <LAYER TOP=16 LEFT=166 CLIP="0,0,99,199" onMouseOver="if (startFLG==1){if (k4FLG==1){k=52;keyUpchk()};if (k6FLG==1){k=54;keyUpchk()}}"></LAYER> <LAYER TOP=16 LEFT=266 CLIP="0,0,74,199" onMouseOver="if (startFLG==1){if (k6FLG==1){DcPos=0};k=54;keyDownchk()}"></LAYER> <LAYER TOP=16 LEFT=341 CLIP="0,0,74,199" onMouseOver="if (startFLG==1){if (k6FLG==0){k=54;keyDownchk()}else{k=54;keyDownchk();k=90;keyDownchk()}}"></LAYER> </LAYER> <LAYER TOP=216 LEFT=16> <LAYER TOP=16 LEFT=16 CLIP="0,0,149,49" onMouseOver="if (startFLG==1){if (k4FLG==0){k=52;keyDownchk()}}"></LAYER> <LAYER TOP=16 LEFT=166 CLIP="0,0,99,49" onMouseOver="if (startFLG==1){if (k4FLG==1){k=52;keyUpchk()};if (k6FLG==1){k=54;keyUpchk()}}"></LAYER> <LAYER TOP=16 LEFT=266 CLIP="0,0,149,49" onMouseOver="if (startFLG==1){if (k6FLG==0){k=54;keyDownchk()}}"></LAYER> </LAYER> <LAYER TOP=256 LEFT=16 onMouseOver="k=88;keyDownchk()" onMouseOut="k=88;keyUpchk()"> <LAYER TOP=16 LEFT=16 CLIP="0,0,149,49" onMouseOver="if (startFLG==1){if (k4FLG==0){k=52;keyDownchk()}}"></LAYER> <LAYER TOP=16 LEFT=166 CLIP="0,0,99,49" onMouseOver="if (startFLG==1){if (k4FLG==1){k=52;keyUpchk()};if (k6FLG==1){k=54;keyUpchk()}}"></LAYER> <LAYER TOP=16 LEFT=266 CLIP="0,0,149,49" onMouseOver="if (startFLG==1){if (k4FLG==0){k=54;keyDownchk()}}"></LAYER> </LAYER> <LAYER NAME="rdyz1" TOP=100 LEFT=100> <FONT COLOR="#FF0000" STYLE="font-size:22px">START...STLAC S !</FONT><FORM><FONT COLOR="#FF0000" STYLE="font-size:20px">alebo klikni na </FONT><INPUT TYPE="button" VALUE="START" ONCLICK="k=83;keyDownchk();blur()"></FORM> </LAYER> </BODY> </HTML>
[ Navrat / BACK ]