Add torch parameters to torch demo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user