HUD position fix

This commit is contained in:
Ruben Müller 2014-12-07 00:17:16 +01:00
parent 927ae718f7
commit 298849c2fb
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ app.game.hud =
start: ->
resTypes = (k for own k of app.game.resources)
@position = x: 64, y: 107
@position = x: 45, y: 103
@resources = []
for restype, i in resTypes
@ -12,7 +12,7 @@ app.game.hud =
)
render: ->
app.layer.drawImage app.images.hud, 0, 12*8+4
app.layer.drawImage app.images.hud, 0, 11*8
i = 0
for type, amount of app.game.resources