-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_map.lua
More file actions
61 lines (61 loc) · 1.1 KB
/
Copy pathexample_map.lua
File metadata and controls
61 lines (61 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
function CreateMap1()
return {
version = "1.1",
luaversion = "5.1",
tiledversion = "0.16.2",
orientation = "orthogonal",
renderorder = "right-down",
width = 8,
height = 7,
tilewidth = 32,
tileheight = 32,
nextobjectid = 1,
properties = {},
tilesets = {
{
name = "atlas",
firstgid = 1,
tilewidth = 32,
tileheight = 32,
spacing = 0,
margin = 0,
image = "atlas.png",
imagewidth = 512,
imageheight = 512,
tileoffset = {
x = 0,
y = 0
},
properties = {},
terrains = {},
tilecount = 256,
tiles = {}
}
},
layers = {
{
type = "tilelayer",
name = "Tile Layer 1",
x = 0,
y = 0,
width = 8,
height = 7,
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {},
encoding = "lua",
data = {
1, 1, 1, 1, 5, 7, 1, 1,
1, 1, 1, 1, 5, 7, 1, 1,
1, 1, 2, 3, 11, 7, 1, 1,
1, 2, 11, 6, 6, 7, 1, 1,
3, 11, 6, 6, 6, 7, 1, 1,
6, 6, 6, 6, 6, 7, 1, 1,
6, 6, 6, 6, 6, 7, 1, 1
}
}
}
}
end