assets: add needed assets for the battle system (2)

This commit is contained in:
Kazhnuz 2019-03-10 13:56:49 +01:00
parent 9a828197e5
commit f486d73409
24 changed files with 13 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

View file

@ -0,0 +1,7 @@
## Imperium Porcorum - Fonts Credits
- [Teko Bold](https://github.com/itfoundry/teko) by the [Indian Type Foundry](https://github.com/itfoundry) - Open Font License
- [Russian One](https://fonts.google.com/specimen/Russo+One) by Jovanny Lemonad - Open Font License
- [Pixel Operator](https://notabug.org/HarvettFox96/ttf-pixeloperator) by [Harvett Fox 96](https://notabug.org/HarvettFox96) - Creative Commons 0

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

View file

@ -1,5 +1,7 @@
local BattleHUD = Object:extend() local BattleHUD = Object:extend()
local gui = require "game.modules.gui"
function BattleHUD:new(controller) function BattleHUD:new(controller)
self.controller = controller self.controller = controller
@ -10,8 +12,9 @@ function BattleHUD:loadAssets()
self.progressbarImage = love.graphics.newImage("assets/gui/progressbar.png") self.progressbarImage = love.graphics.newImage("assets/gui/progressbar.png")
self.barBack = love.graphics.newQuad(0, 0, 211, 12, 211, 24) self.barBack = love.graphics.newQuad(0, 0, 211, 12, 211, 24)
self.barFore = love.graphics.newQuad(0, 12, 211, 12, 211, 24) self.barFore = love.graphics.newQuad(0, 12, 211, 12, 211, 24)
self.hud1 = love.graphics.newImage("assets/gui/boosthud1.png") self.hud1 = gui.newBorder(424, 30, 8)
self.hud2 = love.graphics.newImage("assets/gui/boosthud2.png")
self.hud2 = gui.newBorder(424, 20, 8)
self.hud7 = love.graphics.newImage("assets/gui/status_bar.png") self.hud7 = love.graphics.newImage("assets/gui/status_bar.png")
self.ring = love.graphics.newImage("assets/gui/ring.png") self.ring = love.graphics.newImage("assets/gui/ring.png")

View file

@ -13,7 +13,7 @@ function MenuSystem:new( controller )
self.texture = love.graphics.newImage("assets/gui/attacklist.png") self.texture = love.graphics.newImage("assets/gui/attacklist.png")
self.cursorTexture = love.graphics.newImage("assets/gui/cursor-menulist.png") self.cursorTexture = love.graphics.newImage("assets/gui/cursor-menulist.png")
self.font = love.graphics.newFont("assets/fonts/PixelOperator.ttf", 16) self.font = love.graphics.newFont("assets/gui/fonts/PixelOperator.ttf", 16)
self.cursor = 1 self.cursor = 1
self.cursorTransition = 1 self.cursorTransition = 1
self.view = 1 self.view = 1