Update: CC - Bacon - Entity Loaded (8ia8dlk7l5.js) 0 bytes modified
parent
20c02e1ead
commit
b1d53b4118
|
@ -170,7 +170,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 = 2 * 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