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

beta.r3js.org
-=yb4f310 2018-03-19 09:25:07 +01:00
parent 44083d53b4
commit 89169aa1fe
1 changed files with 3 additions and 2 deletions

View File

@ -265,6 +265,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
this.state.orientation
);
backup.orientation = body.orientation;
}
if (index > 0) {
@ -304,7 +305,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
}
if (
body.orientation !== this.snake[index - 1].orientation
body.orientation !== temp.orientation
) {
if ((index + 1) < this.snake.length) {
@ -320,7 +321,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
body.mesh = this.meshBreadCorner.clone();
}
body.orientation = this.snake[index - 1].orientation;
//body.orientation = this.snake[index - 1].orientation;
}
}