Testing simultaneous lights on screen

This commit is contained in:
Andrew Kesterson
2014-06-11 10:55:02 -07:00
parent 0a01c8844f
commit 684af03a03

View File

@@ -251,7 +251,7 @@ GameState.prototype.updateShadowTexture = function() {
// underneath it darker, while the white area is unaffected.
// Draw shadow
this.shadowTexture.context.fillStyle = 'rgb(100, 100, 100)';
this.shadowTexture.context.fillStyle = 'rgb(200, 200, 200)';
this.shadowTexture.context.fillRect(game.camera.x - 50,
game.camera.y - 50,
game.width + 50,