Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 43 bytes modified
parent
eca24d4667
commit
57c9103067
|
@ -1128,8 +1128,8 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
|
||||
body.mesh = this.createGameMesh(this.materialBreadCorner);
|
||||
|
||||
body.mesh.position.x = backup.position.x;
|
||||
body.mesh.position.y = backup.position.y;
|
||||
//body.mesh.position.x = backup.position.x;
|
||||
//body.mesh.position.y = backup.position.y;
|
||||
body.mesh.position.z = 5;
|
||||
|
||||
body.mesh.updateInstance('position');
|
||||
|
@ -1137,6 +1137,8 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
body.mesh.visible = true;
|
||||
|
||||
body.mesh.updateInstance('visible');
|
||||
|
||||
body.applyToMesh();
|
||||
}
|
||||
|
||||
this.explode(body.position);
|
||||
|
|
Loading…
Reference in New Issue