HUD position fix

This commit is contained in:
Ruben Müller 2014-12-07 00:17:16 +01:00
parent 927ae718f7
commit 298849c2fb

View file

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