Update: CC - Before Render - Moorcow (autqzs1rvq.js) 398 bytes modified

beta.r3js.org
-=yb4f310 2017-11-19 19:25:24 +01:00
parent 5e2a7b900d
commit ab8bd56f71
1 changed files with 2 additions and 16 deletions

View File

@ -96,18 +96,12 @@
var amount = 1 / this.level;
if (amount < 0.2) {
amount = 0.2;
if (amount < 0.05) {
amount = 0.05;
}
this.spawnInterval -= amount;
if ((this.spawnInterval - amount) < 1) {
this.spawnInterval -= 1 / this.level;
} else {
this.spawnInterval -= amount;
}
console.log('level : ' + this.level +', spawn interval : ' + this.spawnInterval);
GameLib.Event.Emit(
@ -550,14 +544,6 @@
}
if (!this.fuelFinished) {
/**
* Light up the scene
*/
//this.fog.color.r += 0.01;
//if (this.fog.color.r > 0.5) {
// this.fog.color.r = 0.5;
//}
//this.fog.updateInstance('color');
this.renderer.clearColor.r += 0.01;
if (this.renderer.clearColor.r > 0.45) {