Add torch parameters to torch demo

This commit is contained in:
Andrew Kesterson
2014-06-11 11:10:14 -07:00
parent c2fe016cf6
commit b877a960b7

View File

@@ -270,7 +270,6 @@ GameState.prototype.updateShadowTexture = function() {
// Iterate through each of the lights and draw the glow
this.lights.forEach(function(light) {
// Randomly change the radius each frame
console.log(light);
var radius = light.radius + game.rnd.integerInRange(1,10);
// Draw circle of light with a soft edge