Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 166 bytes modified

beta.r3js.org
-=yb4f310 2018-03-07 06:21:45 +01:00
parent 5a30d7898b
commit 7d0098ebc4
1 changed files with 9 additions and 7 deletions

View File

@ -25,11 +25,10 @@ this.santa = GameLib.EntityManager.Instance.findComponentById('r0gkv2m07t');
this.camera = GameLib.EntityManager.Instance.findComponentById('2f5l1jt4yw');
this.scene = GameLib.EntityManager.Instance.findComponentById('z3ktrimsp8');
this.cursor = GameLib.EntityManager.Instance.findComponentById('zfu27tmjn4');
this.dom = GameLib.EntityManager.Instance.findComponentById('bl5vh0d2mt');
this.renderer = GameLib.EntityManager.Instance.findComponentById('wid7sf7y35');
this.thrower = GameLib.EntityManager.Instance.findComponentById('xtukuakue3');
//this.renderer = GameLib.EntityManager.Instance.findComponentById('e4xb4aw01w');
this.treeSmall = GameLib.EntityManager.Instance.findComponentById('66lfvqjnsh');
this.treeMedium = GameLib.EntityManager.Instance.findComponentById('jkfx0aimom');
this.treeLarge = GameLib.EntityManager.Instance.findComponentById('53cg0zj637');
@ -37,9 +36,12 @@ this.stone1 = GameLib.EntityManager.Instance.findComponentById('ouacwomksb');
this.stone2 = GameLib.EntityManager.Instance.findComponentById('zaen0snqwc');
this.kanister = GameLib.EntityManager.Instance.findComponentById('01hun2dd7x');
this.leftLight = GameLib.EntityManager.Instance.findComponentById('lbzb38hku5');
this.rightLight = GameLib.EntityManager.Instance.findComponentById('lbzb38hku5');
this.throwerLight = GameLib.EntityManager.Instance.findComponentById('z1jjutmra1');
/**
* Lights
*/
this.lightDirectional = GameLib.EntityManager.Instance.findComponentById('lbzb38hku5');
this.throwerLight = GameLib.EntityManager.Instance.findComponentById('z1jjutmra1');
this.scoreCanvas = GameLib.EntityManager.Instance.findComponentById('0j1szvj8gp');
this.scoreTexture = GameLib.EntityManager.Instance.findComponentById('u8la6bqi9x');
this.scoreMesh = GameLib.EntityManager.Instance.findComponentById('nnmuq10dbl');
@ -98,9 +100,9 @@ GameLib.Event.Subscribe(
);
/**
* Plant all our trees - Below code gets generated automatically
* Plant all our trees - create our enemies - Below code gets generated automatically
*/
this.generateObjects();
GameLib.Event.Emit(GameLib.Event.GAME_LOADED);