From 2fa572cc7f09d39f140e220776776761c5b84d2b Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 20 Mar 2018 10:32:39 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 1 bytes modified --- 21g30t1e75.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index f74e807..5aa54f0 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -365,10 +365,10 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { backup = temp; } - if (!body.isTail) { + //if (!body.isTail) { - body.applyToMesh(); - } + body.applyToMesh(); + //} }.bind(this) ) @@ -445,8 +445,8 @@ GameLib.Event.Subscribe( new GameLib.CustomCode.SnakeBody( this.meshBreadTail, { - x : -1, - y : -6 + x : 4, + y : 1 }, 0, 0, @@ -466,8 +466,8 @@ GameLib.Event.Subscribe( this.animation.meshes.push(this.snake[1].mesh); this.animation.meshes.push(this.snake[2].mesh); - this.snake[2].mesh.instance.add(this.snake[3].mesh.instance); - //this.animation.meshes.push(this.snake[3].mesh); + //this.snake[2].mesh.instance.add(this.snake[3].mesh.instance); + this.animation.meshes.push(this.snake[3].mesh); //this.animationRotation.meshes.push(this.snake[3].mesh);