Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 6 bytes modified
parent
0a997f9dc6
commit
e8ca6a1d8e
|
@ -61,7 +61,7 @@ GameLib.CustomCode.prototype.spawnCloud = function() {
|
||||||
var cloud = this.cloud.clone();
|
var cloud = this.cloud.clone();
|
||||||
|
|
||||||
this.cloud.position.x = -155;
|
this.cloud.position.x = -155;
|
||||||
this.cloud.position.z = Math.sin(this.speedPercentage) * 5;
|
this.cloud.position.z = Math.sin(this.cloudTime) * 5;
|
||||||
this.cloud.updateInstance('position');
|
this.cloud.updateInstance('position');
|
||||||
|
|
||||||
this.clouds.push(cloud);
|
this.clouds.push(cloud);
|
||||||
|
|
Loading…
Reference in New Issue