feat(datas): add Battle's map Amy's Room

This commit is contained in:
Kazhnuz 2019-08-03 15:23:47 +02:00
parent 2f980d4ddd
commit 473aa189c0
8 changed files with 18 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View file

@ -0,0 +1,17 @@
return {
name = "Amy's Room",
blocks = {
{48+128*0, 32, 32, 32, "top", "side1"},
{48+128*0, 128, 32, 32, "top", "side1"},
{48+128*1, 32, 32, 32, "top", "side1"},
{48+128*1, 128, 32, 32, "top", "side1"},
{48+128*2, 32, 32, 32, "top", "side1"},
{48+128*2, 128, 32, 32, "top", "side1"},
{112+128*0, 80, 32, 32, "top", "side2"},
{112+128*1, 80, 32, 32, "top", "side2"},
},
parallax = {
{0, 0, .5, 0, true, false, "back2"},
{0, -96, 1, 1, true, false, "back1"},
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -33,7 +33,7 @@ function MovePlayer:new(playerNumber, cameraMode)
MovePlayer.super.new(self)
self.assets:batchImport("scenes.test_scene.assets")
World(self, "shoot", "ebeach")
World(self, "battle", "aroom")
self.world:setPlayerNumber(playerNumber)
self.world.cameras:setMode(cameraMode)