Light meter
This commit is contained in:
@@ -1098,7 +1098,7 @@ GameState.prototype.check_input = function()
|
|||||||
setSpriteMovement(player);
|
setSpriteMovement(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
GameState.prototype.update_player_lightmeter() {
|
GameState.prototype.update_player_lightmeter = function() {
|
||||||
lightValue = 0;
|
lightValue = 0;
|
||||||
this.staticLights.forEach(function(light) {
|
this.staticLights.forEach(function(light) {
|
||||||
var xd = (spr.x - light.x);
|
var xd = (spr.x - light.x);
|
||||||
|
|||||||
Reference in New Issue
Block a user