summaryrefslogtreecommitdiffstats
path: root/static/resources/map/test.json
blob: 91efc19b3788ef1f456a209055462aae94779735 (plain)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
	"tiles": [
		"-stone/floor",
		"-stone/plate",
		"-stone/wall/top",
		"-stone/wall/right",
		"-stone/wall/bottom",
		"-stone/wall/left",
		"-stone/wall/top_left",
		"-stone/wall/top_right",
		"-stone/wall/bottom_right",
		"-stone/wall/bottom_left",
		"-stone/wall/top_left_inner",
		"-stone/wall/top_right_inner",
		"-stone/wall/bottom_right_inner",
		"-stone/wall/bottom_left_inner",
		"@water",
		"-stone/border/bottom_right",
		"-stone/border/bottom_left"
	],
	"layers": [
		{
			"tiles": [
				[0,  7, 3, 3, 3,  3,  3,  3,  3, 3, 3, 3,  8, 0],
				[0,  6, 1, 1, 1,  1, 15, 15,  1, 1, 1, 1,  4, 0],
				[0,  6, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1,  4, 0],
				[0,  6, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1,  4, 0],
				[3, 11, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1, 12, 3],
				[1,  1, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1,  1, 1],
				[1,  1, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1,  1, 1],
				[5, 14, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1, 13, 5],
				[0,  6, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1,  4, 0],
				[0,  6, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1,  4, 0],
				[0,  6, 1, 1, 1,  1,  1,  1,  1, 1, 1, 1,  4, 0],
				[0, 10, 5, 5, 5, 14,  1,  1, 13, 5, 5, 5,  9, 0],
				[0,  0, 0, 0, 0,  6,  1,  1,  4, 0, 0, 0,  0, 0]
			]
		},
		{
			"tiles": [
				[0, 0, 0, 0, 0, 0,  0,  0, 0, 0, 0, 0, 0, 0],
				[0, 0, 0, 0, 0, 0, 17, 16, 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],
				[2, 2, 2, 2, 2, 2,  2,  2, 2, 2, 2, 2, 2, 2],
				[2, 2, 2, 2, 2, 2,  2,  2, 2, 2, 2, 2, 2, 2],
				[0, 0, 0, 0, 0, 0,  2,  2, 0, 0, 0, 0, 0, 0],
				[0, 0, 0, 0, 0, 0,  2,  2, 0, 0, 0, 0, 0, 0],
				[0, 0, 0, 0, 0, 0,  2,  2, 0, 0, 0, 0, 0, 0],
				[0, 0, 0, 0, 0, 0,  2,  2, 0, 0, 0, 0, 0, 0],
				[0, 0, 0, 0, 0, 0,  2,  2, 0, 0, 0, 0, 0, 0],
				[0, 0, 0, 0, 0, 0,  2,  2, 0, 0, 0, 0, 0, 0]
			]
		}
	],
	"collision": [
		{
			"type": "polygon",
			"vertices": [
				[ 2,  1],
				[ 6,  1],
				[ 6,  2],
				[ 8,  2],
				[ 8,  1],
				[12,  1],
				[12,  5],
				[14,  5],
				[14,  7],
				[12,  7],
				[12, 11],
				[ 8, 11],
				[ 8, 13],
				[ 6, 13],
				[ 6, 11],
				[ 2, 11],
				[ 2,  7],
				[ 0,  7],
				[ 0,  5],
				[ 2,  5]
			]
		}
	]
}