Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 0 bytes modified
parent
c76033336e
commit
462080ebcc
|
@ -97,30 +97,30 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (enemyType === 1) {
|
if (enemyType === 1) {
|
||||||
position.x = -200;
|
position.x = -100;
|
||||||
velocity = {x:speed,y:0,z:0};
|
velocity = {x:speed,y:0,z:0};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enemyType === 2) {
|
if (enemyType === 2) {
|
||||||
position.x = 200;
|
position.x = 100;
|
||||||
velocity = {x:-speed,y:0,z:0};
|
velocity = {x:-speed,y:0,z:0};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enemyType === 3) {
|
if (enemyType === 3) {
|
||||||
position.x = -200;
|
position.x = -100;
|
||||||
position.z = -200;
|
position.z = -100;
|
||||||
velocity = {x:speed,y:0,z:speed};
|
velocity = {x:speed,y:0,z:speed};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enemyType === 4) {
|
if (enemyType === 4) {
|
||||||
position.x = 200;
|
position.x = 100;
|
||||||
position.z = -200;
|
position.z = -100;
|
||||||
velocity = {x:-speed,y:0,z:speed};
|
velocity = {x:-speed,y:0,z:speed};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enemyType === 5) {
|
if (enemyType === 5) {
|
||||||
position.x = 0;
|
position.x = 0;
|
||||||
position.z = -200;
|
position.z = -100;
|
||||||
velocity = {x:0,y:0,z:speed};
|
velocity = {x:0,y:0,z:speed};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
enemy.rotation = rotation;
|
enemy.rotation = rotation;
|
||||||
|
|
||||||
enemy.lifeTime = 0;
|
enemy.lifeTime = 0;
|
||||||
enemy.life = 30;
|
enemy.life = 15;
|
||||||
|
|
||||||
this.enemies.push(enemy);
|
this.enemies.push(enemy);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue