-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevel.tscn
169 lines (150 loc) · 7.16 KB
/
level.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
[gd_scene load_steps=19 format=2]
[ext_resource path="res://level.gd" type="Script" id=1]
[ext_resource path="res://sokoban_tilesheet.png" type="Texture" id=2]
[ext_resource path="res://player.tscn" type="PackedScene" id=3]
[sub_resource type="ConvexPolygonShape2D" id=1]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )
[sub_resource type="ConvexPolygonShape2D" id=2]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=3]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=4]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=5]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=6]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=7]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=8]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=9]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=10]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=11]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=12]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=13]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="ConvexPolygonShape2D" id=14]
points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 )
[sub_resource type="TileSet" id=15]
0/name = "sokoban_tilesheet.png 0"
0/texture = ExtResource( 2 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 832, 512 )
0/tile_mode = 2
0/autotile/icon_coordinate = Vector2( 7, 0 )
0/autotile/tile_size = Vector2( 64, 64 )
0/autotile/spacing = 0
0/autotile/occluder_map = [ ]
0/autotile/navpoly_map = [ ]
0/autotile/priority_map = [ ]
0/autotile/z_index_map = [ ]
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 1 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 6, 7 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 1 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 7 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 2 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 7 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 3 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 7 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 4 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 5 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 6 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 10, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 10 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 11 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 12 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 13 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 10, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 14 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
[node name="Level" type="Node2D"]
script = ExtResource( 1 )
[node name="TileMap" type="TileMap" parent="."]
tile_set = SubResource( 15 )
format = 1
tile_data = PoolIntArray( 0, 0, 11, 1, 0, 11, 2, 0, 11, 3, 0, 11, 4, 0, 11, 5, 0, 11, 6, 0, 11, 7, 0, 11, 8, 0, 11, 9, 0, 11, 10, 0, 11, 11, 0, 11, 12, 0, 11, 13, 0, 11, 14, 0, 11, 15, 0, 11, 65536, 0, 11, 65537, 0, 11, 65538, 0, 11, 65539, 0, 11, 65540, 0, 11, 65541, 0, 11, 65542, 0, 11, 65543, 0, 11, 65544, 0, 11, 65545, 0, 11, 65546, 0, 11, 65547, 0, 11, 65548, 0, 11, 65549, 0, 11, 65550, 0, 11, 65551, 0, 11, 131072, 0, 11, 131073, 0, 11, 131074, 0, 11, 131075, 0, 6, 131076, 0, 6, 131077, 0, 6, 131078, 0, 6, 131079, 0, 6, 131080, 0, 6, 131081, 0, 6, 131082, 0, 6, 131083, 0, 6, 131084, 0, 6, 131085, 0, 11, 131086, 0, 11, 131087, 0, 11, 196608, 0, 11, 196609, 0, 11, 196610, 0, 11, 196611, 0, 6, 196612, 0, 393227, 196613, 0, 393227, 196614, 0, 393227, 196615, 0, 393227, 196616, 0, 393227, 196617, 0, 393227, 196618, 0, 393227, 196619, 0, 393227, 196620, 0, 6, 196621, 0, 11, 196622, 0, 11, 196623, 0, 11, 262144, 0, 11, 262145, 0, 11, 262146, 0, 11, 262147, 0, 6, 262148, 0, 393227, 262149, 0, 393227, 262150, 0, 393227, 262151, 0, 393227, 262152, 0, 393227, 262153, 0, 393227, 262154, 0, 262155, 262155, 0, 393227, 262156, 0, 6, 262157, 0, 11, 262158, 0, 11, 262159, 0, 11, 327680, 0, 11, 327681, 0, 11, 327682, 0, 11, 327683, 0, 6, 327684, 0, 393227, 327685, 0, 393227, 327686, 0, 393227, 327687, 0, 393227, 327688, 0, 393227, 327689, 0, 393227, 327690, 0, 393227, 327691, 0, 393227, 327692, 0, 6, 327693, 0, 11, 327694, 0, 11, 327695, 0, 11, 393216, 0, 11, 393217, 0, 11, 393218, 0, 11, 393219, 0, 6, 393220, 0, 6, 393221, 0, 6, 393222, 0, 6, 393223, 0, 6, 393224, 0, 6, 393225, 0, 6, 393226, 0, 6, 393227, 0, 6, 393228, 0, 6, 393229, 0, 11, 393230, 0, 11, 393231, 0, 11, 458752, 0, 11, 458753, 0, 11, 458754, 0, 11, 458755, 0, 11, 458756, 0, 11, 458757, 0, 11, 458758, 0, 11, 458759, 0, 11, 458760, 0, 11, 458761, 0, 11, 458762, 0, 11, 458763, 0, 11, 458764, 0, 11, 458765, 0, 11, 458766, 0, 11, 458767, 0, 11, 524288, 0, 11, 524289, 0, 11, 524290, 0, 11, 524291, 0, 11, 524292, 0, 11, 524293, 0, 11, 524294, 0, 11, 524295, 0, 11, 524296, 0, 11, 524297, 0, 11, 524298, 0, 11, 524299, 0, 11, 524300, 0, 11, 524301, 0, 11, 524302, 0, 11, 524303, 0, 11, 589824, 0, 11, 589825, 0, 11, 589826, 0, 11, 589827, 0, 11, 589828, 0, 11, 589829, 0, 11, 589830, 0, 11, 589831, 0, 11, 589832, 0, 11, 589833, 0, 11, 589834, 0, 11, 589835, 0, 11, 589836, 0, 11, 589837, 0, 11, 589838, 0, 11, 589839, 0, 11 )
__meta__ = {
"_edit_lock_": true
}
[node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2( 320, 256 )