Update: CC - Before Render - Moorcow (6rskhzgjog.js) 5 bytes modified

beta.r3js.org
-=yb4f310 2017-11-25 16:34:55 +01:00
parent 8c155f3a29
commit 0b9d505926
1 changed files with 6 additions and 6 deletions

View File

@ -246,17 +246,17 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
if (meshType === 1) {
mesh = this.bull.clone();
material = this.bull.materials[0].clone();
speed = 0.2;
speed = 0.3;
} else if (meshType === 2) {
mesh = this.star.clone();
score = 20;
material = this.star.materials[0].clone();
speed = 0.3;
speed = 0.4;
} else if (meshType === 3) {
mesh = this.burger.clone();
score = 50;
material = this.burger.materials[0].clone();
speed = 0.4;
speed = 0.45;
} else if (meshType === 4) {
mesh = this.parcel.clone();
score = 75;
@ -309,17 +309,17 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
var distance = 100;
var angledistance = distance * Math.sin(Math.PI / 4);
var life = 2.5 / speed;
var life = 5 / speed;
if (enemyType === 1) {
position.x = -distance;
life += 1.5 / speed;
life += 3 / speed;
velocity = {x:speed,y:0,z:0};
}
if (enemyType === 2) {
position.x = distance;
life += 1.5 / speed;
life += 3 / speed;
velocity = {x:-speed,y:0,z:0};
}