Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 6 bytes modified
parent
531b9d4222
commit
ea30570d7a
|
@ -201,9 +201,9 @@ GameLib.CustomCode.SnakeBody.prototype.applyToMesh = function() {
|
||||||
* TODO: We don't update instance position - animation should do this
|
* TODO: We don't update instance position - animation should do this
|
||||||
*/
|
*/
|
||||||
// this.mesh.updateInstance('position');
|
// this.mesh.updateInstance('position');
|
||||||
if (!this.isTail) {
|
//if (!this.isTail) {
|
||||||
this.mesh.updateInstance('rotation');
|
this.mesh.updateInstance('rotation');
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
GameLib.CustomCode.SnakeBody.prototype.advance = function(orientation, flip) {
|
GameLib.CustomCode.SnakeBody.prototype.advance = function(orientation, flip) {
|
||||||
|
@ -430,7 +430,7 @@ GameLib.Event.Subscribe(
|
||||||
this.animation.meshes.push(this.snake[2].mesh);
|
this.animation.meshes.push(this.snake[2].mesh);
|
||||||
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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cleanup grid
|
* Cleanup grid
|
||||||
|
|
Loading…
Reference in New Issue