diff --git a/sonic-radiance.love/scenes/battlesystem/controller/hud.lua b/sonic-radiance.love/scenes/battlesystem/controller/hud.lua index ddf03e2..1dc90a7 100644 --- a/sonic-radiance.love/scenes/battlesystem/controller/hud.lua +++ b/sonic-radiance.love/scenes/battlesystem/controller/hud.lua @@ -9,12 +9,8 @@ function BattleHUD:new(controller) end function BattleHUD:loadAssets() - self.progressbarImage = love.graphics.newImage("assets/gui/progressbar.png") - self.barBack = love.graphics.newQuad(0, 0, 211, 12, 211, 24) - self.barFore = love.graphics.newQuad(0, 12, 211, 12, 211, 24) self.hud1 = gui.newBorder(424, 30, 8) - self.hud2 = gui.newBorder(424, 20, 8) self.hud7 = love.graphics.newImage("assets/gui/status_bar.png") self.ring = love.graphics.newImage("assets/gui/ring.png") @@ -22,19 +18,11 @@ function BattleHUD:loadAssets() self.font = love.graphics.newImageFont("assets/gui/hudnumbers.png", " 0123456789:/", 1) self.font2 = love.graphics.newImageFont("assets/gui/hudsmallnumbers.png", " 0123456789", 0) - self.time = love.graphics.newImage("assets/gui/hudtime.png") - self.score = love.graphics.newImage("assets/gui/hudscore.png") - self.bonus = love.graphics.newImage("assets/gui/hudbonus.png") - self.controller.assets:addTileset("lifeicon", "assets/sprites/characters/charicons") end function BattleHUD:destroy( ) - self.progressbarImage:release( ) - self.barBack:release( ) - self.barFore:release( ) self.hud1:release( ) - self.hud2:release( ) end function BattleHUD:update(dt) diff --git a/sonic-radiance.love/scenes/battlesystem/init.lua b/sonic-radiance.love/scenes/battlesystem/init.lua index 5d3d9a2..afef77c 100644 --- a/sonic-radiance.love/scenes/battlesystem/init.lua +++ b/sonic-radiance.love/scenes/battlesystem/init.lua @@ -35,18 +35,12 @@ function BattleSystem:update(dt) end function BattleSystem:draw() - --CScreen:apply() - love.graphics.setColor(1, 1, 1, 1) - love.graphics.rectangle("fill", 0, 0, 424, 240) - --love.graphics.draw(self.background, 0, 0) self.battlearena:draw() self.cursor:drawBottom() self.battlearena:drawEntities() self.cursor:drawTop() self.hud:draw() self.actormanager:draw() - - --CScreen:cease() end function BattleSystem:exit()