lua-love-platformer/maps/map.lua

632 lines
13 KiB
Lua
Raw Normal View History

2018-01-18 05:19:17 +00:00
return {
version = "1.1",
luaversion = "5.1",
tiledversion = "1.1.1",
orientation = "orthogonal",
renderorder = "right-down",
width = 100,
height = 10,
tilewidth = 70,
tileheight = 70,
2018-01-18 05:30:01 +00:00
nextobjectid = 65,
2018-01-18 05:19:17 +00:00
properties = {},
tilesets = {
{
name = "map",
firstgid = 1,
tilewidth = 70,
tileheight = 70,
spacing = 2,
margin = 0,
image = "tiles_spritesheet.png",
imagewidth = 914,
imageheight = 936,
transparentcolor = "#ff05fa",
tileoffset = {
x = 0,
y = 0
},
grid = {
orientation = "orthogonal",
width = 70,
height = 70
},
properties = {},
terrains = {},
tilecount = 156,
tiles = {}
}
},
layers = {
{
type = "tilelayer",
name = "Tile Layer 1",
x = 0,
y = 0,
width = 100,
height = 10,
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {},
encoding = "base64",
compression = "zlib",
data = "eJztkzsOACAIQ525/4GdHSQa+dSmLyGMbWgZQ3Rj3QbEgvLAQnlgEZWHOROJp5OhVw2qf9tsJl77lN3H3/t98rssf9xF930jtG57UtkVVF/MsNx3Ahk9A98="
},
{
type = "tilelayer",
name = "hidden",
x = 0,
y = 0,
width = 100,
height = 10,
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {},
encoding = "base64",
compression = "zlib",
data = "eJxjYBgFo4A2QGqgHTAIgBQONq3sIZYeBZQDaoXtcI8TWueBoWLmKCAfDIf4oFYZjC0/0aueoacdo4B4MBofo2AUDD8AACv4AqU="
},
{
type = "objectgroup",
name = "platforms",
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
draworder = "topdown",
properties = {},
objects = {
{
id = 4,
name = "",
type = "",
shape = "rectangle",
x = 71.3333,
y = 560.667,
width = 419.333,
height = 68.6667,
rotation = 0,
visible = true,
properties = {}
},
{
id = 5,
name = "",
type = "",
shape = "rectangle",
x = 561.333,
y = 421.333,
width = 420,
height = 67.3333,
rotation = 0,
visible = true,
properties = {}
},
{
id = 6,
name = "",
type = "",
shape = "rectangle",
x = 1051.33,
y = 280.667,
width = 488,
height = 69.3333,
rotation = 0,
visible = true,
properties = {}
},
{
id = 8,
name = "",
type = "",
shape = "rectangle",
x = 1259.67,
y = 560,
width = 910.33,
height = 69.3333,
rotation = 0,
visible = true,
properties = {}
},
{
id = 10,
name = "",
type = "",
shape = "rectangle",
x = 2310,
y = 420,
width = 70,
height = 69.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 11,
name = "",
type = "",
shape = "rectangle",
x = 2450,
y = 350.5,
width = 70.5,
height = 69.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 12,
name = "",
type = "",
shape = "rectangle",
x = 2591,
y = 350.5,
width = 69,
height = 68.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 13,
name = "",
type = "",
shape = "rectangle",
x = 2730,
y = 350,
width = 69.5,
height = 70,
rotation = 0,
visible = true,
properties = {}
},
{
id = 15,
name = "",
type = "",
shape = "rectangle",
x = 2870,
y = 281,
width = 631,
height = 68,
rotation = 0,
visible = true,
properties = {}
},
{
id = 16,
name = "",
type = "",
shape = "rectangle",
x = 3500,
y = 628,
width = 491,
height = 71,
rotation = 0,
visible = true,
properties = {}
},
{
id = 17,
name = "",
type = "",
shape = "rectangle",
x = 3990,
y = 560,
width = 841,
height = 71,
rotation = 0,
visible = true,
properties = {}
},
{
id = 19,
name = "",
type = "",
shape = "rectangle",
x = 4830,
y = 491,
width = 772,
height = 69,
rotation = 0,
visible = true,
properties = {}
},
{
id = 20,
name = "",
type = "",
shape = "rectangle",
x = 5603,
y = 420,
width = 836,
height = 70,
rotation = 0,
visible = true,
properties = {}
},
{
id = 24,
name = "",
type = "",
shape = "rectangle",
x = 6440.5,
y = 350.5,
width = 420.5,
height = 69.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 25,
name = "",
type = "",
shape = "rectangle",
x = 6789.5,
y = 0,
width = 71,
height = 350.5,
rotation = 0,
visible = true,
properties = {}
}
}
},
{
type = "objectgroup",
name = "coins",
visible = true,
opacity = 1,
2018-01-18 05:30:01 +00:00
offsetx = -33,
2018-01-18 05:19:17 +00:00
offsety = 0,
draworder = "topdown",
properties = {},
objects = {
{
id = 33,
name = "",
type = "",
shape = "rectangle",
x = 211,
y = 421,
width = 69,
height = 68.6667,
rotation = 0,
visible = true,
properties = {}
},
{
id = 36,
name = "",
type = "",
shape = "rectangle",
x = 350.667,
y = 420.667,
width = 70,
height = 69.3333,
rotation = 0,
visible = true,
properties = {}
},
{
id = 37,
name = "",
type = "",
shape = "rectangle",
x = 630.667,
y = 280.667,
width = 69,
height = 69,
rotation = 0,
visible = true,
properties = {}
},
{
id = 38,
name = "",
type = "",
shape = "rectangle",
x = 840,
y = 281,
width = 69.3333,
height = 69,
rotation = 0,
visible = true,
properties = {}
},
{
id = 39,
name = "",
type = "",
shape = "rectangle",
x = 1121.33,
y = 141.333,
width = 69,
height = 68.3333,
rotation = 0,
visible = true,
properties = {}
},
{
id = 40,
name = "",
type = "",
shape = "rectangle",
x = 1331,
y = 141,
width = 70.3333,
height = 68.6667,
rotation = 0,
visible = true,
properties = {}
},
{
id = 42,
name = "",
type = "",
shape = "rectangle",
x = 1470.5,
y = 421.5,
width = 70,
height = 68.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 43,
name = "",
type = "",
shape = "rectangle",
x = 1681,
y = 420.5,
width = 69,
height = 68.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 44,
name = "",
type = "",
shape = "rectangle",
x = 1821,
y = 422,
width = 70.5,
height = 68.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 45,
name = "",
type = "",
shape = "rectangle",
x = 2031,
y = 420.5,
width = 70,
height = 71,
rotation = 0,
visible = true,
properties = {}
},
{
id = 46,
name = "",
type = "",
shape = "rectangle",
x = 2311,
y = 280.5,
width = 70,
height = 70,
rotation = 0,
visible = true,
properties = {}
},
{
id = 47,
name = "",
type = "",
shape = "rectangle",
x = 2450.5,
y = 210.5,
width = 70,
height = 70.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 48,
name = "",
type = "",
shape = "rectangle",
x = 2591.5,
y = 209.5,
width = 70,
height = 71,
rotation = 0,
visible = true,
properties = {}
},
{
id = 49,
name = "",
type = "",
shape = "rectangle",
x = 2730.5,
y = 211,
width = 69.5,
height = 70,
rotation = 0,
visible = true,
properties = {}
},
{
id = 50,
name = "",
type = "",
shape = "rectangle",
x = 2940.5,
y = 140.5,
width = 68.5,
height = 69.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 51,
name = "",
type = "",
shape = "rectangle",
x = 3080,
y = 140.5,
width = 70,
height = 69,
rotation = 0,
visible = true,
properties = {}
},
{
id = 52,
name = "",
type = "",
shape = "rectangle",
x = 3220.5,
y = 140,
width = 70.5,
height = 70.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 53,
name = "",
type = "",
shape = "rectangle",
x = 3361.5,
y = 140,
width = 68,
height = 70.5,
rotation = 0,
visible = true,
properties = {}
},
{
id = 55,
name = "",
type = "",
shape = "rectangle",
x = 3502,
y = 142,
width = 64,
height = 68,
rotation = 0,
visible = true,
properties = {}
},
{
id = 56,
name = "",
type = "",
shape = "rectangle",
x = 3571,
y = 72,
width = 67,
height = 68,
rotation = 0,
visible = true,
properties = {}
},
{
id = 57,
name = "",
type = "",
shape = "rectangle",
x = 3640,
y = 144,
width = 70,
height = 63,
rotation = 0,
visible = true,
properties = {}
},
{
id = 58,
name = "",
type = "",
shape = "rectangle",
x = 3709,
y = 210,
width = 74,
height = 73,
rotation = 0,
visible = true,
properties = {}
},
{
id = 60,
name = "",
type = "",
shape = "rectangle",
x = 3781,
y = 281,
width = 67,
height = 69,
rotation = 0,
visible = true,
properties = {}
},
{
id = 61,
name = "",
type = "",
shape = "rectangle",
x = 3782,
y = 353,
width = 67,
height = 64,
rotation = 0,
visible = true,
properties = {}
},
{
id = 62,
name = "",
type = "",
shape = "rectangle",
x = 3783,
y = 419,
width = 67,
height = 71,
rotation = 0,
visible = true,
properties = {}
},
{
id = 63,
name = "",
type = "",
shape = "rectangle",
x = 3783,
y = 493,
width = 66,
height = 65,
rotation = 0,
visible = true,
properties = {}
}
}
}
}
}