HUD position fix
This commit is contained in:
parent
927ae718f7
commit
298849c2fb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue