You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
love2d-tank/maps/map.lua

1023 lines
9.8 KiB

return {
version = "1.10",
luaversion = "5.1",
tiledversion = "1.10.2",
class = "",
orientation = "orthogonal",
renderorder = "right-down",
width = 25,
height = 15,
tilewidth = 64,
tileheight = 64,
nextlayerid = 5,
nextobjectid = 36,
properties = {},
tilesets = {
{
name = "floor-tiles",
firstgid = 1,
class = "",
tilewidth = 64,
tileheight = 64,
spacing = 0,
margin = 0,
columns = 9,
image = "../assets/tileset.png",
imagewidth = 576,
imageheight = 384,
objectalignment = "unspecified",
tilerendersize = "tile",
fillmode = "stretch",
tileoffset = {
x = 0,
y = 0,
},
grid = {
orientation = "orthogonal",
width = 64,
height = 64,
},
properties = {},
wangsets = {},
tilecount = 54,
tiles = {},
},
},
layers = {
{
type = "tilelayer",
x = 0,
y = 0,
width = 25,
height = 15,
id = 1,
name = "Floor + Outer Walls",
class = "",
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
parallaxx = 1,
parallaxy = 1,
properties = {},
encoding = "lua",
data = {
4,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
6,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
13,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
15,
22,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
23,
24,
},
},
{
type = "tilelayer",
x = 0,
y = 0,
width = 25,
height = 15,
id = 2,
name = "Inner Walls",
class = "",
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
parallaxx = 1,
parallaxy = 1,
properties = {},
encoding = "lua",
data = {
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
7,
9,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
7,
8,
8,
8,
9,
0,
0,
0,
0,
0,
0,
0,
0,
16,
18,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
25,
26,
26,
26,
27,
0,
0,
0,
0,
0,
0,
0,
0,
25,
27,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
7,
8,
9,
0,
0,
7,
8,
8,
8,
8,
8,
9,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
7,
8,
17,
17,
18,
0,
0,
16,
17,
17,
17,
17,
17,
18,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
16,
17,
17,
26,
26,
8,
8,
17,
26,
26,
26,
26,
26,
27,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
16,
17,
18,
0,
0,
16,
17,
18,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
16,
17,
18,
0,
0,
25,
26,
27,
0,
0,
0,
0,
0,
0,
0,
0,
7,
8,
8,
8,
9,
0,
0,
0,
0,
16,
17,
27,
0,
0,
0,
0,
0,
0,
0,
7,
8,
9,
0,
0,
0,
16,
17,
17,
17,
18,
0,
0,
0,
0,
25,
27,
0,
0,
0,
0,
0,
0,
0,
0,
16,
17,
18,
0,
0,
0,
16,
17,
17,
17,
18,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
25,
26,
27,
0,
0,
0,
25,
26,
26,
26,
27,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
},
},
{
type = "objectgroup",
draworder = "topdown",
id = 4,
name = "Walls",
class = "",
visible = false,
opacity = 1,
offsetx = 0,
offsety = 0,
parallaxx = 1,
parallaxy = 1,
properties = {},
objects = {
{
id = 10,
name = "",
type = "",
shape = "rectangle",
x = 512,
y = 128,
width = 320,
height = 128,
rotation = 0,
visible = true,
properties = {},
},
{
id = 11,
name = "",
type = "",
shape = "rectangle",
x = 1344,
y = 64,
width = 128,
height = 192,
rotation = 0,
visible = true,
properties = {},
},
{
id = 12,
name = "",
type = "",
shape = "rectangle",
x = 1152,
y = 640,
width = 320,
height = 256,
rotation = 0,
visible = true,
properties = {},
},
{
id = 13,
name = "",
type = "",
shape = "rectangle",
x = 768,
y = 704,
width = 192,
height = 192,
rotation = 0,
visible = true,
properties = {},
},
{
id = 19,
name = "",
type = "",
shape = "rectangle",
x = 576,
y = 384,
width = 448,
height = 192,
rotation = 0,
visible = true,
properties = {},
},
{
id = 20,
name = "",
type = "",
shape = "rectangle",
x = 448,
y = 512,
width = 192,
height = 192,
rotation = 0,
visible = true,
properties = {},
},
{
id = 21,
name = "",
type = "",
shape = "rectangle",
x = 256,
y = 384,
width = 192,
height = 192,
rotation = 0,
visible = true,
properties = {},
},
{
id = 22,
name = "",
type = "",
shape = "rectangle",
x = 128,
y = 448,
width = 192,
height = 320,
rotation = 0,
visible = true,
properties = {},
},
{
id = 23,
name = "",
type = "",
shape = "rectangle",
x = 128,
y = 768,
width = 128,
height = 64,
rotation = 0,
visible = true,
properties = {},
},
{
id = 30,
name = "",
type = "",
shape = "rectangle",
x = 0,
y = 0,
width = 16,
height = 960,
rotation = 0,
visible = true,
properties = {},
},
{
id = 31,
name = "",
type = "",
shape = "rectangle",
x = 1584,
y = 0,
width = 16,
height = 960,
rotation = 0,
visible = true,
properties = {},
},
{
id = 32,
name = "",
type = "",
shape = "rectangle",
x = 0,
y = 0,
width = 1600,
height = 16,
rotation = 0,
visible = true,
properties = {},
},
{
id = 33,
name = "",
type = "",
shape = "rectangle",
x = 0,
y = 944,
width = 1600,
height = 16,
rotation = 0,
visible = true,
properties = {},
},
},
},
},
}