Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 26 bytes modified
parent
89129bf704
commit
be340043eb
|
@ -128,12 +128,12 @@ GameLib.CustomCode.prototype.advanceCamera = function(delta) {
|
|||
var modified = false;
|
||||
|
||||
if ((this.camera.position.z - this.snail.position.z) > 0.01) {
|
||||
this.camera.position.z -= delta;
|
||||
this.camera.position.z -= this.speed * delta;
|
||||
modified = true;
|
||||
}
|
||||
|
||||
if ((this.snail.position.z - this.camera.position.z) > 0.01) {
|
||||
this.camera.position.z += delta;
|
||||
this.camera.position.z += this.speed * delta;
|
||||
modified = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue