Update: CC - Before Render - Moorcow (qemp4een6t.js) 8213 bytes modified
parent
3b0c1f2a02
commit
84612acddb
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
if (!this.entityLoaded) {
|
if (!this.entityLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -38,7 +36,6 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
);
|
);
|
||||||
|
|
||||||
this.fog = this.entityLoaded.fog;
|
|
||||||
this.bull = this.entityLoaded.bull;
|
this.bull = this.entityLoaded.bull;
|
||||||
this.star = this.entityLoaded.star;
|
this.star = this.entityLoaded.star;
|
||||||
this.santa = this.entityLoaded.santa;
|
this.santa = this.entityLoaded.santa;
|
||||||
|
@ -166,8 +163,7 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
|
|
||||||
this.enemiesSpawned = 0;
|
this.enemiesSpawned = 0;
|
||||||
|
|
||||||
this.fog.density = 0.01;
|
|
||||||
this.fog.updateInstance('density');
|
|
||||||
this.leftLight.intensity = 0.3;
|
this.leftLight.intensity = 0.3;
|
||||||
this.leftLight.updateInstance('intensity');
|
this.leftLight.updateInstance('intensity');
|
||||||
this.rightLight.intensity = 0.3;
|
this.rightLight.intensity = 0.3;
|
||||||
|
@ -630,12 +626,6 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
|
|
||||||
this.minimumRendererRed += 0.01;
|
this.minimumRendererRed += 0.01;
|
||||||
|
|
||||||
this.fog.density -= 0.00025;
|
|
||||||
if (this.fog.density < 0.0055) {
|
|
||||||
this.fog.density = 0.0055;
|
|
||||||
}
|
|
||||||
this.fog.updateInstance('density');
|
|
||||||
|
|
||||||
if (mesh.position.x < 0) {
|
if (mesh.position.x < 0) {
|
||||||
this.leftLight.intensity += data.delta * 2.5;
|
this.leftLight.intensity += data.delta * 2.5;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue