Torch becomes Light, flicker becomes optional
This commit is contained in:
@@ -230,7 +230,7 @@ GameState.prototype.create = function()
|
|||||||
this.fpsText.fixedToCamera = true;
|
this.fpsText.fixedToCamera = true;
|
||||||
|
|
||||||
this.shadowTexture = game.add.bitmapData(game.world.width, game.world.height);
|
this.shadowTexture = game.add.bitmapData(game.world.width, game.world.height);
|
||||||
this.shadowTextureColor = 'rgb(25, 25, 25)';
|
this.shadowTextureColor = 'rgb(50, 50, 50)';
|
||||||
|
|
||||||
// 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