assets: add needed assets for the battle system (2)
BIN
sonic-radiance.love/assets/gui/arrow.png
Normal file
After Width: | Height: | Size: 463 B |
BIN
sonic-radiance.love/assets/gui/attacklist.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
sonic-radiance.love/assets/gui/battle/turnbar.png
Normal file
After Width: | Height: | Size: 501 B |
BIN
sonic-radiance.love/assets/gui/cursor-menulist.png
Normal file
After Width: | Height: | Size: 267 B |
BIN
sonic-radiance.love/assets/gui/dialogbox.png
Normal file
After Width: | Height: | Size: 444 B |
7
sonic-radiance.love/assets/gui/fonts/CREDITS.txt
Normal 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
|
BIN
sonic-radiance.love/assets/gui/fonts/PixelOperator.ttf
Normal file
BIN
sonic-radiance.love/assets/gui/fonts/Pokemon DPPt.ttf
Normal file
BIN
sonic-radiance.love/assets/gui/fonts/RussoOne-Regular.ttf
Normal file
BIN
sonic-radiance.love/assets/gui/fonts/Teko-Bold.ttf
Normal file
BIN
sonic-radiance.love/assets/gui/fonts/kimberley bl.ttf
Normal file
BIN
sonic-radiance.love/assets/gui/fonts/sadv.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
sonic-radiance.love/assets/gui/fonts/vipnagorgialla.ttf
Normal file
BIN
sonic-radiance.love/assets/gui/hudbonus.png
Normal file
After Width: | Height: | Size: 468 B |
BIN
sonic-radiance.love/assets/gui/hudnumbers.png
Normal file
After Width: | Height: | Size: 649 B |
BIN
sonic-radiance.love/assets/gui/hudscore.png
Normal file
After Width: | Height: | Size: 347 B |
BIN
sonic-radiance.love/assets/gui/hudsmallnumbers.png
Normal file
After Width: | Height: | Size: 521 B |
BIN
sonic-radiance.love/assets/gui/hudtime.png
Normal file
After Width: | Height: | Size: 301 B |
BIN
sonic-radiance.love/assets/gui/progressbar.png
Normal file
After Width: | Height: | Size: 790 B |
BIN
sonic-radiance.love/assets/gui/ring.png
Normal file
After Width: | Height: | Size: 348 B |
BIN
sonic-radiance.love/assets/gui/status_bar.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
sonic-radiance.love/assets/gui/status_bar.xcf
Normal file
|
@ -1,5 +1,7 @@
|
|||
local BattleHUD = Object:extend()
|
||||
|
||||
local gui = require "game.modules.gui"
|
||||
|
||||
function BattleHUD:new(controller)
|
||||
self.controller = controller
|
||||
|
||||
|
@ -10,8 +12,9 @@ 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 = love.graphics.newImage("assets/gui/boosthud1.png")
|
||||
self.hud2 = love.graphics.newImage("assets/gui/boosthud2.png")
|
||||
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")
|
||||
|
|
|
@ -13,7 +13,7 @@ function MenuSystem:new( controller )
|
|||
|
||||
self.texture = love.graphics.newImage("assets/gui/attacklist.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.cursorTransition = 1
|
||||
self.view = 1
|
||||
|
|