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

beta.r3js.org
-=yb4f310 2018-02-14 15:15:06 +01:00
parent 78e9f9a4c2
commit 57a7173b2a
1 changed files with 5 additions and 10 deletions

View File

@ -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;