assets: add needed assets for the battle system
BIN
sonic-radiance.love/assets/backgrounds/borders.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
sonic-radiance.love/assets/backgrounds/normaltile.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/bridge-back.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/bridge-fore.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/castle-back.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/castle-fore.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/city-back.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/city-fore.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/forest-back.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/forest-fore.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/hills-back.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/hills-fore.png
Normal file
After Width: | Height: | Size: 2 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.6 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/tunnel-back.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
sonic-radiance.love/assets/backgrounds/parallax/tunnel-fore.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
sonic-radiance.love/assets/backgrounds/rails/basic.png
Normal file
After Width: | Height: | Size: 436 B |
BIN
sonic-radiance.love/assets/backgrounds/specialtile.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
sonic-radiance.love/assets/sprites/shadow.png
Normal file
After Width: | Height: | Size: 210 B |
|
@ -32,7 +32,7 @@ function love.load()
|
||||||
core = Core()
|
core = Core()
|
||||||
game = Game()
|
game = Game()
|
||||||
|
|
||||||
scenes.title()
|
scenes.cbs()
|
||||||
end
|
end
|
||||||
|
|
||||||
function love.update(dt)
|
function love.update(dt)
|
||||||
|
|
|
@ -7,10 +7,10 @@ function Background:new(controller, levelname)
|
||||||
local borderline = self.controller.datas.borders or 1
|
local borderline = self.controller.datas.borders or 1
|
||||||
|
|
||||||
self.textures = {}
|
self.textures = {}
|
||||||
self.textures.tiles = love.graphics.newImage("assets/levels/normaltile.png")
|
self.textures.tiles = love.graphics.newImage("assets/backgrounds/normaltile.png")
|
||||||
self.textures.back1 = love.graphics.newImage("assets/levels/backgrounds/" .. backname .. "-back.png")
|
self.textures.back1 = love.graphics.newImage("assets/backgrounds/parallax/" .. backname .. "-back.png")
|
||||||
self.textures.back2 = love.graphics.newImage("assets/levels/backgrounds/" .. backname .. "-fore.png")
|
self.textures.back2 = love.graphics.newImage("assets/backgrounds/parallax/" .. backname .. "-fore.png")
|
||||||
self.textures.borders = love.graphics.newImage("assets/levels/borders.png")
|
self.textures.borders = love.graphics.newImage("assets/backgrounds/borders.png")
|
||||||
|
|
||||||
self.quads = {}
|
self.quads = {}
|
||||||
self.quads.tiles = {}
|
self.quads.tiles = {}
|
||||||
|
|
|
@ -43,11 +43,11 @@ function BattleArena:loadRessources()
|
||||||
local borderline = self.datas.borders or 1
|
local borderline = self.datas.borders or 1
|
||||||
|
|
||||||
self.textures = {}
|
self.textures = {}
|
||||||
self.textures.tiles = love.graphics.newImage("assets/levels/normaltile.png")
|
self.textures.tiles = love.graphics.newImage("assets/backgrounds/normaltile.png")
|
||||||
self.textures.sptiles = love.graphics.newImage("assets/levels/specialtile.png")
|
self.textures.sptiles = love.graphics.newImage("assets/backgrounds/specialtile.png")
|
||||||
self.textures.back1 = love.graphics.newImage("assets/levels/backgrounds/" .. backname .. "-back.png")
|
self.textures.back1 = love.graphics.newImage("assets/backgrounds/parallax/" .. backname .. "-back.png")
|
||||||
self.textures.back2 = love.graphics.newImage("assets/levels/backgrounds/" .. backname .. "-fore.png")
|
self.textures.back2 = love.graphics.newImage("assets/backgrounds/parallax/" .. backname .. "-fore.png")
|
||||||
self.textures.borders = love.graphics.newImage("assets/levels/borders.png")
|
self.textures.borders = love.graphics.newImage("assets/backgrounds/borders.png")
|
||||||
self.textures.shadow = love.graphics.newImage("assets/sprites/shadow.png")
|
self.textures.shadow = love.graphics.newImage("assets/sprites/shadow.png")
|
||||||
|
|
||||||
self.quads = {}
|
self.quads = {}
|
||||||
|
|