Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 71 bytes modified
parent
ab20d10f9b
commit
44083d53b4
|
@ -265,7 +265,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
||||||
this.state.orientation
|
this.state.orientation
|
||||||
);
|
);
|
||||||
|
|
||||||
//backup.orientation = body.orientation;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (index > 0) {
|
if (index > 0) {
|
||||||
|
@ -319,10 +318,11 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
||||||
body.backupMesh.updateInstance('visible');
|
body.backupMesh.updateInstance('visible');
|
||||||
|
|
||||||
body.mesh = this.meshBreadCorner.clone();
|
body.mesh = this.meshBreadCorner.clone();
|
||||||
} else {
|
|
||||||
body.orientation = this.snake[index - 1].orientation;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
body.orientation = this.snake[index - 1].orientation;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body.applyToMesh(this.state.flip);
|
body.applyToMesh(this.state.flip);
|
||||||
|
|
Loading…
Reference in New Issue