Put the lightmeter back to a horizontal growth + alpha
This commit is contained in:
@@ -303,7 +303,7 @@ GameState.prototype.update_player_lightmeter = function() {
|
||||
}, this)
|
||||
player.lightmeter += lightValue;
|
||||
player.lightmeter = Math.min(player.lightmeter, 1.0);
|
||||
this.lightbar.scale.y = player.lightmeter;
|
||||
this.lightbar.scale.x = player.lightmeter;
|
||||
this.lightbar.alpha = 0.5 + (player.lightmeter / 2);
|
||||
//this.lightbar_crop.width = ((this.lightbar_image.width) * player.lightmeter);
|
||||
//this.lightbar.crop(this.lightbar_crop);
|
||||
|
||||
Reference in New Issue
Block a user