Spaces:
Running
Running
Update index.html
Browse files- index.html +4 -4
index.html
CHANGED
|
@@ -696,26 +696,26 @@ this.y = 1;
|
|
| 696 |
if(moas <= 25){
|
| 697 |
this.x = 1;
|
| 698 |
this.y = Math.floor(Math.random() * javas.height);
|
| 699 |
-
this.vx = ((Math.random()*
|
| 700 |
this.vy = 0;
|
| 701 |
}
|
| 702 |
if(moas >= 26 && moas <= 50){
|
| 703 |
this.x = Math.floor(Math.random() * javas.width);
|
| 704 |
this.y = 1;
|
| 705 |
this.vx = 0;
|
| 706 |
-
this.vy = (Math.random()*
|
| 707 |
}
|
| 708 |
if(moas >= 51 && moas <= 75){
|
| 709 |
this.x = javas.width-1;
|
| 710 |
this.y = Math.floor(Math.random()*javas.height);
|
| 711 |
-
this.vx = 0-1*Math.random()*
|
| 712 |
this.vy = 0;
|
| 713 |
}
|
| 714 |
if(moas >= 76 && moas <= 100){
|
| 715 |
this.x = Math.floor(Math.random()*javas.width);
|
| 716 |
this.y = javas.height-1;
|
| 717 |
this.vx = 0;
|
| 718 |
-
this.vy = 0-1*Math.random()*
|
| 719 |
}
|
| 720 |
this.id = mpo;
|
| 721 |
this.height = Math.floor((50+(Math.random()*200))/level);
|
|
|
|
| 696 |
if(moas <= 25){
|
| 697 |
this.x = 1;
|
| 698 |
this.y = Math.floor(Math.random() * javas.height);
|
| 699 |
+
this.vx = ((Math.random()*5)*level)+3;
|
| 700 |
this.vy = 0;
|
| 701 |
}
|
| 702 |
if(moas >= 26 && moas <= 50){
|
| 703 |
this.x = Math.floor(Math.random() * javas.width);
|
| 704 |
this.y = 1;
|
| 705 |
this.vx = 0;
|
| 706 |
+
this.vy = (Math.random()*5)*level+3;
|
| 707 |
}
|
| 708 |
if(moas >= 51 && moas <= 75){
|
| 709 |
this.x = javas.width-1;
|
| 710 |
this.y = Math.floor(Math.random()*javas.height);
|
| 711 |
+
this.vx = 0-1*Math.random()*5*level+3;
|
| 712 |
this.vy = 0;
|
| 713 |
}
|
| 714 |
if(moas >= 76 && moas <= 100){
|
| 715 |
this.x = Math.floor(Math.random()*javas.width);
|
| 716 |
this.y = javas.height-1;
|
| 717 |
this.vx = 0;
|
| 718 |
+
this.vy = 0-1*Math.random()*5*level+3;
|
| 719 |
}
|
| 720 |
this.id = mpo;
|
| 721 |
this.height = Math.floor((50+(Math.random()*200))/level);
|