This commit is contained in:
Aaron Mueller 2014-12-07 18:39:37 +01:00
parent 0bcc7acd20
commit a3543762d9
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,8 @@ app.game =
@map[i] = new Tile(i)
@map[20*5+10].entity = new Base
# TODO: BUG BUG: ... the base is some time replaced by a tile ...
@mouseX = 0
@mouseY = 0
@currentHoveredTile = new Tile(-1)

View file

@ -52,7 +52,7 @@ app.game.hud =
# Energy production (47)
length = Math.round(((25*app.game.solarpanelCount())*4)/100)
length = Math.round(((25*app.game.solarpanelCount())*45)/100)
for i in [0..length]
app.layer.setPixel("#228ca5", 49+i, 91)
app.layer.setPixel("#8ddaed", 50+i, 92)