From b9b5c9cfeb7c8a4326f6d249cfbe46633014ccd1 Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Thu, 28 Nov 2013 17:08:51 +0100 Subject: [PATCH] Make flashlight a bit redder --- lib/FlashlightComponent.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/FlashlightComponent.js b/lib/FlashlightComponent.js index 045c06d..909b115 100644 --- a/lib/FlashlightComponent.js +++ b/lib/FlashlightComponent.js @@ -21,6 +21,7 @@ define([ //spotLight.range = 10; spotLight.penumbra = 5; spotLight.intensity = 1; + spotLight.color.setd(1.0, 0.6, 0.3); var spotLightEntity = Game.goo.world.createEntity('FlashLight'); spotLightEntity.setComponent(new LightComponent(spotLight));