Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 4 bytes modified
parent
aeadbd3b38
commit
36d78c4ddb
|
@ -89,7 +89,7 @@ GameLib.CustomCode.prototype.spawnCloud = function() {
|
|||
var cloud = this.cloud.clone();
|
||||
|
||||
this.cloud.position.x = -155;
|
||||
this.cloud.position.z = Math.sin(this.time / 10) * 30;
|
||||
this.cloud.position.z = Math.sin(this.time) * 20;
|
||||
this.cloud.updateInstance('position');
|
||||
|
||||
this.clouds.push(cloud);
|
||||
|
@ -130,7 +130,7 @@ GameLib.CustomCode.prototype.advanceClouds = function(delta) {
|
|||
|
||||
this.cloudTime += diff;
|
||||
|
||||
if (this.cloudTime > 10) {
|
||||
if (this.cloudTime > 0.5) {
|
||||
this.spawnCloud();
|
||||
this.cloudTime = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue