Skip to content

Commit

Permalink
Nudged healthbar
Browse files Browse the repository at this point in the history
  • Loading branch information
mhvelplund committed Aug 7, 2021
1 parent a06f7fd commit 4d3cc00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Healthbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Healthbar:constructor(dark, light, xOffset, hp)
self.width = (VIRTUAL_WIDTH/2)*0.8
self.height = 30
self.x = VIRTUAL_WIDTH/4 - self.width/2 + xOffset
self.y = VIRTUAL_HEIGHT - self.height
self.y = VIRTUAL_HEIGHT - (self.height + 10)
self.hp = hp
end

Expand Down

0 comments on commit 4d3cc00

Please sign in to comment.