Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 204 bytes modified
parent
dd1ca954e4
commit
d27c9c3e0e
|
@ -1395,6 +1395,9 @@ GameLib.CustomCode.prototype.createTile = function(tileName, imageName) {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
this[tileName].visibile = false;
|
||||||
|
this[tileName].updateInstance('visible');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove this tile from the 'meshes' so it is treated like a clone and doesn't get stored
|
* Remove this tile from the 'meshes' so it is treated like a clone and doesn't get stored
|
||||||
*/
|
*/
|
||||||
|
@ -1419,9 +1422,6 @@ GameLib.Event.Emit(
|
||||||
|
|
||||||
this.createTile('tile_flames_small', 'image_flames_small');
|
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].transparent = true;
|
||||||
this.tile_flames_small.materials[0].updateInstance('transparent');
|
this.tile_flames_small.materials[0].updateInstance('transparent');
|
||||||
|
|
||||||
|
@ -1431,9 +1431,6 @@ GameLib.Event.Emit(
|
||||||
|
|
||||||
this.createTile('tile_glow', 'image_glow');
|
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');
|
||||||
|
|
||||||
|
@ -1456,9 +1453,6 @@ 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