diff --git a/sonic-radiance.love/assets/backgrounds/borders.png b/sonic-radiance.love/assets/backgrounds/borders.png new file mode 100644 index 0000000..d11d5da Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/borders.png differ diff --git a/sonic-radiance.love/assets/backgrounds/normaltile.png b/sonic-radiance.love/assets/backgrounds/normaltile.png new file mode 100644 index 0000000..cc4fed3 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/normaltile.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/bridge-back.png b/sonic-radiance.love/assets/backgrounds/parallax/bridge-back.png new file mode 100644 index 0000000..d2a5eff Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/bridge-back.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/bridge-fore.png b/sonic-radiance.love/assets/backgrounds/parallax/bridge-fore.png new file mode 100644 index 0000000..0926d7b Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/bridge-fore.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/castle-back.png b/sonic-radiance.love/assets/backgrounds/parallax/castle-back.png new file mode 100644 index 0000000..934ae84 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/castle-back.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/castle-fore.png b/sonic-radiance.love/assets/backgrounds/parallax/castle-fore.png new file mode 100644 index 0000000..a79c90c Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/castle-fore.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/city-back.png b/sonic-radiance.love/assets/backgrounds/parallax/city-back.png new file mode 100644 index 0000000..e117c0b Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/city-back.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/city-fore.png b/sonic-radiance.love/assets/backgrounds/parallax/city-fore.png new file mode 100644 index 0000000..7e7777c Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/city-fore.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/forest-back.png b/sonic-radiance.love/assets/backgrounds/parallax/forest-back.png new file mode 100644 index 0000000..8166549 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/forest-back.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/forest-fore.png b/sonic-radiance.love/assets/backgrounds/parallax/forest-fore.png new file mode 100644 index 0000000..ab78f68 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/forest-fore.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/hills-back.png b/sonic-radiance.love/assets/backgrounds/parallax/hills-back.png new file mode 100644 index 0000000..9ce24b1 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/hills-back.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/hills-fore.png b/sonic-radiance.love/assets/backgrounds/parallax/hills-fore.png new file mode 100644 index 0000000..e3194e2 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/hills-fore.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/mountain-back.png b/sonic-radiance.love/assets/backgrounds/parallax/mountain-back.png new file mode 100644 index 0000000..d23b8d8 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/mountain-back.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/mountain-fore.png b/sonic-radiance.love/assets/backgrounds/parallax/mountain-fore.png new file mode 100644 index 0000000..04a680b Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/mountain-fore.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/tunnel-back.png b/sonic-radiance.love/assets/backgrounds/parallax/tunnel-back.png new file mode 100644 index 0000000..e43b669 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/tunnel-back.png differ diff --git a/sonic-radiance.love/assets/backgrounds/parallax/tunnel-fore.png b/sonic-radiance.love/assets/backgrounds/parallax/tunnel-fore.png new file mode 100644 index 0000000..734732e Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/parallax/tunnel-fore.png differ diff --git a/sonic-radiance.love/assets/backgrounds/rails/basic.png b/sonic-radiance.love/assets/backgrounds/rails/basic.png new file mode 100644 index 0000000..0b9a251 Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/rails/basic.png differ diff --git a/sonic-radiance.love/assets/backgrounds/specialtile.png b/sonic-radiance.love/assets/backgrounds/specialtile.png new file mode 100644 index 0000000..163e57e Binary files /dev/null and b/sonic-radiance.love/assets/backgrounds/specialtile.png differ diff --git a/sonic-radiance.love/assets/sprites/shadow.png b/sonic-radiance.love/assets/sprites/shadow.png new file mode 100644 index 0000000..699cd01 Binary files /dev/null and b/sonic-radiance.love/assets/sprites/shadow.png differ diff --git a/sonic-radiance.love/main.lua b/sonic-radiance.love/main.lua index 0ae3d13..8837a3a 100644 --- a/sonic-radiance.love/main.lua +++ b/sonic-radiance.love/main.lua @@ -32,7 +32,7 @@ function love.load() core = Core() game = Game() - scenes.title() + scenes.cbs() end function love.update(dt) diff --git a/sonic-radiance.love/scenes/battlesystem/controller/background.lua b/sonic-radiance.love/scenes/battlesystem/controller/background.lua index 2639f47..ee38c55 100644 --- a/sonic-radiance.love/scenes/battlesystem/controller/background.lua +++ b/sonic-radiance.love/scenes/battlesystem/controller/background.lua @@ -7,10 +7,10 @@ function Background:new(controller, levelname) local borderline = self.controller.datas.borders or 1 self.textures = {} - self.textures.tiles = love.graphics.newImage("assets/levels/normaltile.png") - self.textures.back1 = love.graphics.newImage("assets/levels/backgrounds/" .. backname .. "-back.png") - self.textures.back2 = love.graphics.newImage("assets/levels/backgrounds/" .. backname .. "-fore.png") - self.textures.borders = love.graphics.newImage("assets/levels/borders.png") + self.textures.tiles = love.graphics.newImage("assets/backgrounds/normaltile.png") + self.textures.back1 = love.graphics.newImage("assets/backgrounds/parallax/" .. backname .. "-back.png") + self.textures.back2 = love.graphics.newImage("assets/backgrounds/parallax/" .. backname .. "-fore.png") + self.textures.borders = love.graphics.newImage("assets/backgrounds/borders.png") self.quads = {} self.quads.tiles = {} diff --git a/sonic-radiance.love/scenes/battlesystem/controller/battlearena.lua b/sonic-radiance.love/scenes/battlesystem/controller/battlearena.lua index 543f6ac..b4276ab 100644 --- a/sonic-radiance.love/scenes/battlesystem/controller/battlearena.lua +++ b/sonic-radiance.love/scenes/battlesystem/controller/battlearena.lua @@ -43,11 +43,11 @@ function BattleArena:loadRessources() local borderline = self.datas.borders or 1 self.textures = {} - self.textures.tiles = love.graphics.newImage("assets/levels/normaltile.png") - self.textures.sptiles = love.graphics.newImage("assets/levels/specialtile.png") - self.textures.back1 = love.graphics.newImage("assets/levels/backgrounds/" .. backname .. "-back.png") - self.textures.back2 = love.graphics.newImage("assets/levels/backgrounds/" .. backname .. "-fore.png") - self.textures.borders = love.graphics.newImage("assets/levels/borders.png") + self.textures.tiles = love.graphics.newImage("assets/backgrounds/normaltile.png") + self.textures.sptiles = love.graphics.newImage("assets/backgrounds/specialtile.png") + self.textures.back1 = love.graphics.newImage("assets/backgrounds/parallax/" .. backname .. "-back.png") + self.textures.back2 = love.graphics.newImage("assets/backgrounds/parallax/" .. backname .. "-fore.png") + self.textures.borders = love.graphics.newImage("assets/backgrounds/borders.png") self.textures.shadow = love.graphics.newImage("assets/sprites/shadow.png") self.quads = {}