Update: CC - SnailRunner - Before Render (94xi7aitax.js) 5 bytes modified
parent
311401bbcb
commit
b316020f7a
|
@ -23,7 +23,7 @@ if (!this.initialized) {
|
|||
var cloud = this.cloud.clone();
|
||||
|
||||
this.cloud.position.x = -155;
|
||||
this.cloud.position.z = (Math.random() * 10) - 5;
|
||||
this.cloud.position.z = (Math.random() * 25) - 12.5;
|
||||
this.cloud.updateInstance('position');
|
||||
|
||||
this.clouds.push(cloud);
|
||||
|
@ -106,7 +106,7 @@ if (modified) {
|
|||
|
||||
this.time += data.delta;
|
||||
|
||||
if (this.time > 5) {
|
||||
if (this.time > 0.5) {
|
||||
this.spawnCloud();
|
||||
this.time = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue