feat(datas): add Battle's map Battle Highway
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 729 B |
After Width: | Height: | Size: 98 KiB |
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
name = "Battle Highway",
|
||||
blocks = {
|
||||
{ 0, 64, 32, 32, "top1", "side1a"},
|
||||
{160, 0, 32, 32, "top1", "side1b"},
|
||||
{224, 160, 32, 32, "top1", "side1a"},
|
||||
{ 64, 224, 32, 32, "top1", "side1a"},
|
||||
{160, 32, 08, 64, "top2", "side2"},
|
||||
{ 88, 160, 08, 64, "top2", "side2"},
|
||||
{ 32, 88, 64, 08, "top3", "side3"},
|
||||
{160, 160, 64, 08, "top3", "side3"},
|
||||
},
|
||||
parallax = {
|
||||
{0, 0, .5, 0, true, false, "back1"},
|
||||
{0, -28, 1, 1, true, false, "back2"},
|
||||
{0, 86, 1, 1, true, false, "back3"},
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 6.4 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/bhighway/top1.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/bhighway/top2.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
sonic-radiance.love/datas/gamedata/maps/battle/bhighway/top3.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
|
@ -33,7 +33,7 @@ function MovePlayer:new(playerNumber, cameraMode)
|
|||
MovePlayer.super.new(self)
|
||||
self.assets:batchImport("scenes.test_scene.assets")
|
||||
|
||||
World(self, "battle", "aroom")
|
||||
World(self, "battle", "bhighway")
|
||||
|
||||
self.world:setPlayerNumber(playerNumber)
|
||||
self.world.cameras:setMode(cameraMode)
|
||||
|
|