Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 267 bytes modified

beta.r3js.org
-=yb4f310 2018-02-14 15:36:16 +01:00
parent 522851f81e
commit dd1ca954e4
1 changed files with 21 additions and 10 deletions

View File

@ -1416,23 +1416,31 @@ GameLib.Event.Emit(
this.createTile('tile_4', 'image_4');
this.createTile('tile_5', 'image_5');
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].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.height = '12';
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.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].updateInstance('color');
this.tile_bacon_disappearing.visible = false;
this.tile_bacon_disappearing.updateInstance('visible');
this.drawGrid();
this.drawStatus();