12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- return {
- version = "1.1",
- luaversion = "5.1",
- tiledversion = "1.1.5",
- orientation = "orthogonal",
- renderorder = "right-down",
- width = 10,
- height = 10,
- tilewidth = 16,
- tileheight = 16,
- nextobjectid = 9,
- properties = {},
- tilesets = {
- {
- name = "greysq",
- firstgid = 1,
- filename = "greysq.tsx",
- tilewidth = 16,
- tileheight = 16,
- spacing = 0,
- margin = 0,
- image = "../img/greysq.png",
- imagewidth = 64,
- imageheight = 16,
- tileoffset = {
- x = 0,
- y = 0
- },
- grid = {
- orientation = "orthogonal",
- width = 16,
- height = 16
- },
- properties = {},
- terrains = {},
- tilecount = 4,
- tiles = {}
- }
- },
- layers = {
- {
- type = "tilelayer",
- name = "Tile Layer 1",
- x = 0,
- y = 0,
- width = 10,
- height = 10,
- visible = true,
- opacity = 1,
- offsetx = 0,
- offsety = 0,
- properties = {},
- encoding = "lua",
- data = {
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 1, 1, 1, 1, 1, 1, 1, 1, 4,
- 4, 1, 3, 3, 3, 3, 3, 3, 1, 4,
- 4, 1, 3, 3, 1, 1, 3, 3, 1, 4,
- 4, 1, 2, 1, 1, 1, 1, 2, 1, 4,
- 4, 1, 2, 1, 1, 1, 1, 2, 1, 4,
- 4, 1, 3, 3, 1, 1, 3, 3, 1, 4,
- 4, 1, 3, 3, 3, 3, 3, 3, 1, 4,
- 4, 1, 1, 1, 1, 1, 1, 1, 1, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
- }
- },
- {
- type = "objectgroup",
- name = "spawn point",
- visible = true,
- opacity = 1,
- offsetx = 0,
- offsety = 0,
- draworder = "topdown",
- properties = {},
- objects = {
- {
- id = 8,
- name = "player",
- type = "",
- shape = "rectangle",
- x = 32,
- y = 32 ,
- width = 16,
- height = 16,
- rotation = 0,
- visible = true,
- properties = {}
- }
- }
- }
- }
- }
|