Update: CC - Before Render - Moorcow (autqzs1rvq.js) 7 bytes modified
parent
b5bd6dfd17
commit
b9e203759c
|
@ -47,7 +47,7 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
this.fuelFinished = false;
|
this.fuelFinished = false;
|
||||||
|
|
||||||
this.level = 1;
|
this.level = 1;
|
||||||
this.spawnInterval = 10;
|
this.spawnInterval = 50;
|
||||||
this.score = 0;
|
this.score = 0;
|
||||||
this.lives = 10;
|
this.lives = 10;
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
var distance = 100;
|
var distance = 100;
|
||||||
var angledistance = distance * Math.sin(Math.PI / 4);
|
var angledistance = distance * Math.sin(Math.PI / 4);
|
||||||
|
|
||||||
var life = distance / speed;
|
var life = (distance - 80) / speed;
|
||||||
|
|
||||||
if (enemyType === 1) {
|
if (enemyType === 1) {
|
||||||
position.x = -distance;
|
position.x = -distance;
|
||||||
|
|
Loading…
Reference in New Issue