Update: CC - Bacon - Entity Loaded (a2xc0lrac8.js) 4 bytes modified
parent
d6bbf064ff
commit
fdc1aeae04
|
@ -169,7 +169,7 @@ GameLib.CustomCode.prototype.startAnimation = function (index) {
|
||||||
return function (data) {
|
return function (data) {
|
||||||
__animationObject.time += data.delta * 4;
|
__animationObject.time += data.delta * 4;
|
||||||
|
|
||||||
this.burnLight.intensity = Math.sin(__animationObject.time);
|
this.burnLight.intensity = 4 * Math.sin(__animationObject.time);
|
||||||
this.burnLight.updateInstance('intensity');
|
this.burnLight.updateInstance('intensity');
|
||||||
|
|
||||||
this.tile_glowMaterial.opacity = Math.sin(__animationObject.time);
|
this.tile_glowMaterial.opacity = Math.sin(__animationObject.time);
|
||||||
|
|
Loading…
Reference in New Issue