Update: CC - Before Render - Moorcow (autqzs1rvq.js) 398 bytes modified
parent
5e2a7b900d
commit
ab8bd56f71
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue