feat(datas): add Battle's map Chao Ruins
BIN
sonic-radiance.love/datas/gamedata/maps/battle/cruins/back1.png
Normal file
After Width: | Height: | Size: 7 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/cruins/back2.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/cruins/back3.png
Normal file
After Width: | Height: | Size: 9 KiB |
After Width: | Height: | Size: 161 KiB |
|
@ -0,0 +1,17 @@
|
||||||
|
return {
|
||||||
|
name = "Chao Ruins",
|
||||||
|
blocks = {
|
||||||
|
{ 0, 0, 32, 32, "top1", "side1"},
|
||||||
|
{224, 226, 32, 32, "top1", "side1"},
|
||||||
|
{128, 32, 32, 64, "top2", "side1"},
|
||||||
|
{ 96, 160, 32, 64, "top2", "side1"},
|
||||||
|
{ 0, 96, 64, 32, "top3", "side2"},
|
||||||
|
{192, 128, 64, 32, "top3", "side2"},
|
||||||
|
},
|
||||||
|
parallax = {
|
||||||
|
{0, 0, .5, 0, true, false, "back1"},
|
||||||
|
{0, 80, 1, 1, true, false, "back2"},
|
||||||
|
{0, -16, 1, 1, true, false, "back3"},
|
||||||
|
--{256*4, -16, 1, 1, false, false, "back3"},
|
||||||
|
}
|
||||||
|
}
|
BIN
sonic-radiance.love/datas/gamedata/maps/battle/cruins/side1.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/cruins/side2.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/cruins/top1.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/cruins/top2.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/cruins/top3.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
|
@ -33,7 +33,7 @@ function MovePlayer:new(playerNumber, cameraMode)
|
||||||
MovePlayer.super.new(self)
|
MovePlayer.super.new(self)
|
||||||
self.assets:batchImport("scenes.test_scene.assets")
|
self.assets:batchImport("scenes.test_scene.assets")
|
||||||
|
|
||||||
World(self, "battle", "bhighway")
|
World(self, "battle", "cruins")
|
||||||
|
|
||||||
self.world:setPlayerNumber(playerNumber)
|
self.world:setPlayerNumber(playerNumber)
|
||||||
self.world.cameras:setMode(cameraMode)
|
self.world.cameras:setMode(cameraMode)
|
||||||
|
|