Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 150 bytes modified
parent
4ec8691a78
commit
ad49572716
|
@ -54,6 +54,7 @@ this.imagePatty = GameLib.EntityManager.Instance.findComponentById('4lf0fw24su
|
||||||
*/
|
*/
|
||||||
this.scene = GameLib.EntityManager.Instance.findComponentById('pllp034hsj');
|
this.scene = GameLib.EntityManager.Instance.findComponentById('pllp034hsj');
|
||||||
this.animation = GameLib.EntityManager.Instance.findComponentById('8kb7utb2fn');
|
this.animation = GameLib.EntityManager.Instance.findComponentById('8kb7utb2fn');
|
||||||
|
this.animationRotation = GameLib.EntityManager.Instance.findComponentById('z628kythyn');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Game objects
|
* Game objects
|
||||||
|
@ -412,6 +413,8 @@ 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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cleanup grid
|
* Cleanup grid
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue