-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTileMap.tscn
190 lines (180 loc) · 7.73 KB
/
TileMap.tscn
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
[gd_scene load_steps=16 format=2]
[ext_resource path="res://assets/Tiles/grassCliffLeft.png" type="Texture" id=1]
[ext_resource path="res://assets/Tiles/grassCliffRight.png" type="Texture" id=2]
[ext_resource path="res://assets/Tiles/bridgeLogs.png" type="Texture" id=3]
[ext_resource path="res://assets/Tiles/boxCoin.png" type="Texture" id=4]
[ext_resource path="res://assets/Tiles/door_openMid.png" type="Texture" id=5]
[ext_resource path="res://assets/Tiles/grassMid.png" type="Texture" id=6]
[ext_resource path="res://assets/Tiles/door_openTop.png" type="Texture" id=7]
[sub_resource type="OccluderPolygon2D" id=1]
polygon = PoolVector2Array( 60, 70, 0, 70, 0, 0, 60, 0 )
[sub_resource type="OccluderPolygon2D" id=2]
polygon = PoolVector2Array( 0, 0, 60, 0, 60, 42, 0, 42 )
[sub_resource type="ConvexPolygonShape2D" id=3]
points = PoolVector2Array( 70, 28, 0, 28, 0, 0, 70, 0 )
[sub_resource type="ConvexPolygonShape2D" id=4]
points = PoolVector2Array( 70, 28, 0, 28, 0, 0, 70, 0 )
[sub_resource type="ConvexPolygonShape2D" id=5]
points = PoolVector2Array( 70, 28, 0, 28, 0, 0, 70, 0 )
[sub_resource type="ConvexPolygonShape2D" id=6]
points = PoolVector2Array( 70, 27, 0, 27, 0, 3.8147e-06, 70, 3.8147e-06 )
[sub_resource type="ConvexPolygonShape2D" id=7]
points = PoolVector2Array( 70, 70, 0, 70, 0, 0, 70, 0 )
[sub_resource type="TileSet" id=8]
5/name = "grassMid.png 5"
5/texture = ExtResource( 6 )
5/tex_offset = Vector2( 0, 0 )
5/modulate = Color( 1, 1, 1, 1 )
5/region = Rect2( 0, 0, 70, 70 )
5/tile_mode = 0
5/occluder_offset = Vector2( 0, 0 )
5/navigation_offset = Vector2( 0, 0 )
5/shape_offset = Vector2( 0, 0 )
5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
5/shape = SubResource( 3 )
5/shape_one_way = true
5/shape_one_way_margin = 2.0
5/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": true,
"one_way_margin": 2.0,
"shape": SubResource( 3 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
5/z_index = 0
6/name = "grassCliffLeft.png 6"
6/texture = ExtResource( 1 )
6/tex_offset = Vector2( 0, 0 )
6/modulate = Color( 1, 1, 1, 1 )
6/region = Rect2( 0, 0, 70, 70 )
6/tile_mode = 0
6/occluder_offset = Vector2( 0, 0 )
6/navigation_offset = Vector2( 0, 0 )
6/shape_offset = Vector2( 0, 0 )
6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
6/shape = SubResource( 4 )
6/shape_one_way = true
6/shape_one_way_margin = 2.0
6/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": true,
"one_way_margin": 2.0,
"shape": SubResource( 4 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
6/z_index = 0
7/name = "grassCliffRight.png 7"
7/texture = ExtResource( 2 )
7/tex_offset = Vector2( 0, 0 )
7/modulate = Color( 1, 1, 1, 1 )
7/region = Rect2( 0, 0, 70, 70 )
7/tile_mode = 0
7/occluder_offset = Vector2( 0, 0 )
7/navigation_offset = Vector2( 0, 0 )
7/shape_offset = Vector2( 0, 0 )
7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
7/shape = SubResource( 5 )
7/shape_one_way = true
7/shape_one_way_margin = 2.0
7/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": true,
"one_way_margin": 2.0,
"shape": SubResource( 5 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
7/z_index = 0
8/name = "bridgeLogs.png 8"
8/texture = ExtResource( 3 )
8/tex_offset = Vector2( 0, 0 )
8/modulate = Color( 1, 1, 1, 1 )
8/region = Rect2( 0, 42, 70, 35 )
8/tile_mode = 0
8/occluder_offset = Vector2( 0, 0 )
8/navigation_offset = Vector2( 0, 0 )
8/shape_offset = Vector2( 0, 0 )
8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
8/shape = SubResource( 6 )
8/shape_one_way = false
8/shape_one_way_margin = 1.0
8/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 6 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
8/z_index = 0
9/name = "boxCoin.png 9"
9/texture = ExtResource( 4 )
9/tex_offset = Vector2( 0, 0 )
9/modulate = Color( 1, 1, 1, 1 )
9/region = Rect2( 0, 0, 70, 70 )
9/tile_mode = 0
9/occluder_offset = Vector2( 0, 0 )
9/navigation_offset = Vector2( 0, 0 )
9/shape_offset = Vector2( 0, 0 )
9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
9/shape = SubResource( 7 )
9/shape_one_way = false
9/shape_one_way_margin = 1.0
9/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
9/z_index = 0
10/name = "door_openMid.png 10"
10/texture = ExtResource( 5 )
10/tex_offset = Vector2( 0, 0 )
10/modulate = Color( 1, 1, 1, 1 )
10/region = Rect2( 0, 0, 70, 70 )
10/tile_mode = 0
10/occluder_offset = Vector2( 0, 0 )
10/occluder = SubResource( 1 )
10/navigation_offset = Vector2( 0, 0 )
10/shape_offset = Vector2( 0, 0 )
10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
10/shape_one_way = false
10/shape_one_way_margin = 0.0
10/shapes = [ ]
10/z_index = 0
11/name = "door_openMid.png 11"
11/texture = ExtResource( 5 )
11/tex_offset = Vector2( 0, 0 )
11/modulate = Color( 1, 1, 1, 1 )
11/region = Rect2( 0, 0, 60, 70 )
11/tile_mode = 0
11/occluder_offset = Vector2( 0, 0 )
11/navigation_offset = Vector2( 0, 0 )
11/shape_offset = Vector2( 0, 0 )
11/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
11/shape_one_way = false
11/shape_one_way_margin = 0.0
11/shapes = [ ]
11/z_index = 0
12/name = "door_openTop.png 12"
12/texture = ExtResource( 7 )
12/tex_offset = Vector2( 0, 0 )
12/modulate = Color( 1, 1, 1, 1 )
12/region = Rect2( 0, 28, 70, 42 )
12/tile_mode = 0
12/occluder_offset = Vector2( 0, 0 )
12/occluder = SubResource( 2 )
12/navigation_offset = Vector2( 0, 0 )
12/shape_offset = Vector2( 0, 0 )
12/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
12/shape_one_way = false
12/shape_one_way_margin = 0.0
12/shapes = [ ]
12/z_index = 0
[node name="TileMap" type="TileMap"]
scale = Vector2( 0.2, 0.2 )
tile_set = SubResource( 8 )
cell_size = Vector2( 70, 70 )
collision_layer = 0
collision_mask = 2147483649
format = 1
tile_data = PoolIntArray( -1048577, 1, 0, -983041, 1, 0, -917505, 1, 0, -851969, 1, 0, -786433, 1, 0, -720897, 1, 0, -655361, 1, 0, -720856, 6, 0, -720855, 7, 0, -589825, 1, 0, -524289, 1, 0, -589788, 6, 0, -589787, 7, 0, -458753, 1, 0, -393217, 1, 0, -458720, 6, 0, -458719, 7, 0, -327681, 1, 0, -262145, 1, 0, -327658, 6, 0, -327657, 5, 0, -327656, 5, 0, -327655, 5, 0, -327654, 5, 0, -327653, 5, 0, -327652, 5, 0, -327651, 5, 0, -327650, 7, 0, -327616, 6, 0, -327615, 5, 0, -327614, 5, 0, -327613, 5, 0, -327612, 5, 0, -327611, 5, 0, -327610, 5, 0, -327609, 5, 0, -327608, 7, 0, -196609, 1, 0, -131073, 1, 0, -196589, 6, 0, -196588, 7, 0, -196548, 6, 0, -196547, 7, 0, -65537, 1, 0, -131066, 6, 0, -131065, 5, 0, -131064, 7, 0, -1, 1, 0, 65532, 5, 0, 65533, 5, 0, 65534, 5, 0, 65535, 5, 0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 3, 5, 0, 4, 5, 0, 5, 5, 0, 6, 5, 0, 7, 5, 0, 8, 5, 0, 9, 5, 0, 10, 5, 0, 11, 5, 0, 12, 5, 0, 13, 5, 0, 14, 5, 0, 15, 5, 0, 16, 5, 0, 17, 5, 0, 18, 5, 0, 19, 5, 0, 20, 5, 0, 21, 5, 0, 22, 5, 0, 23, 5, 0, 24, 5, 0, 25, 5, 0, 26, 5, 0, 27, 5, 0, 28, 5, 0, 29, 5, 0, 30, 5, 0, 31, 5, 0, 32, 5, 0, 33, 5, 0, 34, 5, 0, 35, 5, 0, 36, 5, 0, 37, 5, 0, 38, 5, 0, 39, 5, 0, 40, 5, 0, 41, 5, 0, 42, 5, 0, 43, 5, 0, 44, 5, 0, 45, 5, 0, 46, 5, 0, 47, 5, 0, 48, 5, 0, 49, 5, 0, 50, 5, 0, 51, 5, 0, 52, 5, 0, 53, 5, 0, 54, 5, 0, 55, 5, 0, 56, 5, 0, 57, 5, 0, 58, 5, 0, 59, 5, 0, 60, 5, 0, 61, 5, 0, 62, 5, 0, 63, 5, 0, 64, 5, 0, 65, 5, 0, 66, 5, 0, 67, 5, 0, 68, 5, 0, 69, 5, 0, 70, 5, 0, 71, 5, 0, 72, 5, 0, 73, 5, 0, 74, 5, 0, 75, 5, 0, 76, 5, 0, 77, 5, 0, 78, 5, 0, 79, 5, 0, 80, 5, 0, 81, 5, 0, 82, 5, 0, 83, 5, 0, 84, 5, 0, 85, 5, 0, 86, 5, 0, 87, 5, 0, 88, 5, 0, 89, 5, 0, 90, 5, 0, 91, 5, 0, 92, 5, 0, 93, 5, 0, 94, 5, 0, 95, 5, 0, 96, 5, 0, 97, 5, 0, 98, 5, 0, 99, 5, 0, 100, 5, 0, 101, 5, 0, 102, 5, 0, 103, 5, 0, 104, 5, 0, 105, 5, 0, 106, 5, 0, 107, 5, 0, 108, 5, 0, 109, 5, 0, 110, 5, 0, 111, 5, 0, 112, 5, 0, 113, 5, 0, 114, 5, 0, 115, 5, 0, 116, 5, 0, 117, 5, 0, 118, 5, 0, 119, 5, 0, 120, 5, 0, 121, 5, 0, 122, 5, 0, 123, 7, 0 )