Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 267 bytes modified
parent
522851f81e
commit
dd1ca954e4
|
@ -1416,23 +1416,31 @@ GameLib.Event.Emit(
|
||||||
this.createTile('tile_4', 'image_4');
|
this.createTile('tile_4', 'image_4');
|
||||||
this.createTile('tile_5', 'image_5');
|
this.createTile('tile_5', 'image_5');
|
||||||
this.createTile('tile_6', 'image_6');
|
this.createTile('tile_6', 'image_6');
|
||||||
this.createTile('tile_flames_small', 'image_flames_small');
|
|
||||||
this.createTile('tile_glow', 'image_glow');
|
this.createTile('tile_flames_small', 'image_flames_small');
|
||||||
|
|
||||||
|
this.tile_flames_small.visible = false;
|
||||||
|
this.tile_flames_small.updateInstance('visible');
|
||||||
|
|
||||||
|
this.tile_flames_small.materials[0].transparent = true;
|
||||||
|
this.tile_flames_small.materials[0].updateInstance('transparent');
|
||||||
|
|
||||||
|
this.tile_flames_small.geometry.width = '11';
|
||||||
|
this.tile_flames_small.geometry.height = '11';
|
||||||
|
this.tile_flames_small.geometry.updateInstance('width');
|
||||||
|
|
||||||
|
this.createTile('tile_glow', 'image_glow');
|
||||||
|
|
||||||
|
this.tile_glow.visible = false;
|
||||||
|
this.tile_glow.updateInstance('visible');
|
||||||
|
|
||||||
this.tile_glow.materials[0].transparent = true;
|
this.tile_glow.materials[0].transparent = true;
|
||||||
this.tile_glow.materials[0].updateInstance('transparent');
|
this.tile_glow.materials[0].updateInstance('transparent');
|
||||||
|
|
||||||
this.tile_flames_small.materials[0].transparent = true;
|
|
||||||
this.tile_flames_small.materials[0].updateInstance('transparent');
|
|
||||||
|
|
||||||
this.tile_glow.geometry.width = '12';
|
this.tile_glow.geometry.width = '12';
|
||||||
this.tile_glow.geometry.height = '12';
|
this.tile_glow.geometry.height = '12';
|
||||||
this.tile_glow.geometry.updateInstance('width');
|
this.tile_glow.geometry.updateInstance('width');
|
||||||
|
|
||||||
this.tile_flames_small.geometry.width = '11';
|
|
||||||
this.tile_flames_small.geometry.height = '11';
|
|
||||||
this.tile_flames_small.geometry.updateInstance('width');
|
|
||||||
|
|
||||||
this.tile_glowMaterial = this.tile_glow.materials[0];
|
this.tile_glowMaterial = this.tile_glow.materials[0];
|
||||||
|
|
||||||
this.createTile('tile_center');
|
this.createTile('tile_center');
|
||||||
|
@ -1448,6 +1456,9 @@ GameLib.Event.Emit(
|
||||||
this.tile_bacon_disappearing.materials[0].color.fromHex('#3e1d1d');
|
this.tile_bacon_disappearing.materials[0].color.fromHex('#3e1d1d');
|
||||||
this.tile_bacon_disappearing.materials[0].updateInstance('color');
|
this.tile_bacon_disappearing.materials[0].updateInstance('color');
|
||||||
|
|
||||||
|
this.tile_bacon_disappearing.visible = false;
|
||||||
|
this.tile_bacon_disappearing.updateInstance('visible');
|
||||||
|
|
||||||
this.drawGrid();
|
this.drawGrid();
|
||||||
this.drawStatus();
|
this.drawStatus();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue