Update: CC - SpoonLib - Before Render (uou2i9be9r.js) 126 bytes modified
parent
51eda0251a
commit
7c96855e04
|
@ -9,6 +9,7 @@ if (!this.initialized) {
|
|||
this.camera2d = this.entityLoaded.camera2d;
|
||||
this.particleEngine = this.entityLoaded.particleEngine;
|
||||
this.particle = this.entityLoaded.particle;
|
||||
this.audioDrone = this.entityLoaded.audioDrone;
|
||||
|
||||
this.particleEngine.pulse = true;
|
||||
this.particleEngine.particlesPerSecond = 22;
|
||||
|
@ -36,6 +37,10 @@ this.camera.lookAt.y = 0;
|
|||
this.camera.lookAt.z = 0;
|
||||
this.camera.updateInstance('lookAt');
|
||||
|
||||
if (this.audioDrone.volume < 0.5) {
|
||||
this.audioDrone.volume += this.time;
|
||||
}
|
||||
|
||||
if (this.camera2dAnimation) {
|
||||
|
||||
this.camera2d.fov -= Math.abs(Math.cos(this.time * 5));
|
||||
|
|
Loading…
Reference in New Issue