Aaron Mueller 8 years ago
parent 0bcc7acd20
commit a3543762d9

@ -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)

@ -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)

Loading…
Cancel
Save