Making AI able to 'see' the player

This commit is contained in:
2014-06-14 14:50:48 -07:00
parent bc135b1889
commit 7433462184

View File

@@ -939,7 +939,7 @@ GameState.prototype.create = function()
this.shadowTexture = game.add.bitmapData(game.world.width, game.world.height);
// drop this lower to make the map darker
this.shadowTextureColor = 'rgb(40, 40, 40)';
this.shadowTextureColor = 'rgb(255, 255, 255)';
this.shadowSprite = game.add.image(0, 0, this.shadowTexture);
this.shadowSprite.blendMode = Phaser.blendModes.MULTIPLY;