Light meter

This commit is contained in:
2014-06-14 19:44:41 -07:00
parent de101fe18f
commit 73dcba8306

View File

@@ -1100,10 +1100,10 @@ GameState.prototype.update = function()
{
this.check_input();
lightcheck = [
this.shadowTexture.pixels(player.x + player.y),
this.shadowTexture.pixels(player.x + 32 + player.y),
this.shadowTexture.pixels(player.x + 32 + player.y + 32),
this.shadowTexture.pixels(player.x + player.y + 32)
this.shadowTexture.pixels[player.x + player.y],
this.shadowTexture.pixels[player.x + 32 + player.y],
this.shadowTexture.pixels[player.x + 32 + player.y + 32],
this.shadowTexture.pixels[player.x + player.y + 32]
];
console.log(lightcheck);