Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 1 bytes modified
parent
670cc4b19f
commit
2fa572cc7f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue