diff --git a/sonic-radiance.love/game/modules/world/actors/player.lua b/sonic-radiance.love/game/modules/world/actors/player.lua index 3371728..8db95ee 100644 --- a/sonic-radiance.love/game/modules/world/actors/player.lua +++ b/sonic-radiance.love/game/modules/world/actors/player.lua @@ -8,6 +8,8 @@ function Player:new(world, x, y, z, id) self:setSprite("sonic", 8, 12) self:cloneSprite() + + self.guiborder = game.gui.newBorder(424, 20, 6) end function Player:updateStart(dt) @@ -74,6 +76,7 @@ end function Player:drawHUD(id) love.graphics.print(id .. " test", 4, 4) + love.graphics.draw(self.guiborder, 424, 20, 0, -1, -1) end return Player