From 0a997f9dc66bf2d3d4d646cfea87baee624536d5 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 9 Mar 2018 18:42:03 +0100 Subject: [PATCH] Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 7 bytes modified --- 78gnds8jrj.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/78gnds8jrj.js b/78gnds8jrj.js index 79dfe19..b89fab3 100644 --- a/78gnds8jrj.js +++ b/78gnds8jrj.js @@ -61,7 +61,7 @@ GameLib.CustomCode.prototype.spawnCloud = function() { var cloud = this.cloud.clone(); this.cloud.position.x = -155; - this.cloud.position.z = (Math.random() * 25) - 12.5; + this.cloud.position.z = Math.sin(this.speedPercentage) * 5; this.cloud.updateInstance('position'); this.clouds.push(cloud); @@ -129,7 +129,7 @@ GameLib.CustomCode.prototype.advanceClouds = function(delta) { this.cloudTime += diff; - if (this.cloudTime > 1) { + if (this.cloudTime > 2) { this.spawnCloud(); this.cloudTime = 0; }