diff --git a/2xswm1bwq8.js b/2xswm1bwq8.js index f028b33..a27bed8 100644 --- a/2xswm1bwq8.js +++ b/2xswm1bwq8.js @@ -50,11 +50,6 @@ this.animationSystems = GameLib.EntityManager.Instance.queryComponents(GameLib */ this.burnLight = GameLib.EntityManager.Instance.findComponentById('q13y5xwv6c'); - - - - - /** * Initial Game Settings * @type {number} @@ -128,7 +123,7 @@ GameLib.CustomCode.prototype.startAnimation = function (index) { ); } - var glow = this.glow.clone(); + var glow = this.tile_glow.clone(); glow.position.y = index; glow.position.x = (GameLib.CustomCode.TETRIS_GRID_WIDTH / 2) - 0.5; @@ -159,8 +154,8 @@ GameLib.CustomCode.prototype.startAnimation = function (index) { this.burnLight.intensity = Math.sin(__animationObject.time); this.burnLight.updateInstance('intensity'); - this.glowMaterial.opacity = Math.sin(__animationObject.time); - this.glowMaterial.updateInstance('opacity'); + this.tile_glowMaterial.opacity = Math.sin(__animationObject.time); + this.tile_glowMaterial.updateInstance('opacity'); if (__animationObject.time < (Math.PI / 2)) { @@ -1424,8 +1419,8 @@ GameLib.Event.Emit( this.createTile('tile_flames_small', 'image_flames_small'); this.createTile('tile_glow', 'image_glow'); - this.glowMaterial = this.tile_glow.materials[0]; - + this.tile_glowMaterial = this.tile_glow.materials[0]; + this.createTile('tile_center'); this.tile_center.materials[0].transparent = true;