More work on the map
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -891,8 +891,8 @@ GameState.prototype.create = function()
|
|||||||
this.shadowTexture = game.add.bitmapData(game.world.width, game.world.height);
|
this.shadowTexture = game.add.bitmapData(game.world.width, game.world.height);
|
||||||
// drop this lower to make the map darker
|
// drop this lower to make the map darker
|
||||||
//this.shadowTexturColor_Base = 30;
|
//this.shadowTexturColor_Base = 30;
|
||||||
//this.shadowTextureColor = 'rgb(30, 30, 30)';
|
this.shadowTextureColor = 'rgb(50, 50, 50)';
|
||||||
this.shadowTextureColor = 'rgb(255, 255, 255)';
|
//this.shadowTextureColor = 'rgb(255, 255, 255)';
|
||||||
|
|
||||||
// Create an object that will use the bitmap as a texture
|
// Create an object that will use the bitmap as a texture
|
||||||
this.shadowSprite = game.add.image(0, 0, this.shadowTexture);
|
this.shadowSprite = game.add.image(0, 0, this.shadowTexture);
|
||||||
|
|||||||
Reference in New Issue
Block a user