Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 1 bytes modified

beta.r3js.org
-=yb4f310 2018-03-20 10:32:39 +01:00
parent 670cc4b19f
commit 2fa572cc7f
1 changed files with 7 additions and 7 deletions

View File

@ -365,10 +365,10 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
backup = temp; backup = temp;
} }
if (!body.isTail) { //if (!body.isTail) {
body.applyToMesh(); body.applyToMesh();
} //}
}.bind(this) }.bind(this)
) )
@ -445,8 +445,8 @@ GameLib.Event.Subscribe(
new GameLib.CustomCode.SnakeBody( new GameLib.CustomCode.SnakeBody(
this.meshBreadTail, this.meshBreadTail,
{ {
x : -1, x : 4,
y : -6 y : 1
}, },
0, 0,
0, 0,
@ -466,8 +466,8 @@ GameLib.Event.Subscribe(
this.animation.meshes.push(this.snake[1].mesh); this.animation.meshes.push(this.snake[1].mesh);
this.animation.meshes.push(this.snake[2].mesh); this.animation.meshes.push(this.snake[2].mesh);
this.snake[2].mesh.instance.add(this.snake[3].mesh.instance); //this.snake[2].mesh.instance.add(this.snake[3].mesh.instance);
//this.animation.meshes.push(this.snake[3].mesh); this.animation.meshes.push(this.snake[3].mesh);
//this.animationRotation.meshes.push(this.snake[3].mesh); //this.animationRotation.meshes.push(this.snake[3].mesh);