Making AI able to 'see' the player

This commit is contained in:
2014-06-14 16:27:37 -07:00
parent d1e9c1feb6
commit ca32c16ccc

View File

@@ -911,7 +911,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(255, 255, 255)';
this.shadowTextureColor = 'rgb(60, 60, 60)';
this.shadowSprite = game.add.image(0, 0, this.shadowTexture);
this.shadowSprite.blendMode = Phaser.blendModes.MULTIPLY;