feat(datas): add Battle's map Chao Ruins

This commit is contained in:
Kazhnuz 2019-08-03 17:36:16 +02:00
parent efc0f8926b
commit 54e73a6cfe
11 changed files with 18 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

View file

@ -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"},
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View file

@ -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)