2020-09-14 15:21:59 +00:00
|
|
|
[gd_scene load_steps=37 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://assets/Tiles/tileset.png" type="Texture" id=1]
|
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=1]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 16, 16, 4.51224, 16, 4.51224, 5.0704, 16, 5.0704 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=2]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 16, 16, 4.4869, 16, 4.4869, 0, 16, 0 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=3]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 16, 0, 4.4869, 0, 4.4869, 10.994, 16, 10.994 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=4]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 16, 16, 0, 16, 0, 5.14114, 16, 5.2346 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=5]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 0, 16, 16, 16, 16, 0, 0, 0 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=6]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 16, 0, 0, 0, 0, 11.0875, 16, 11.0875 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=7]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 11.9286, 15.9829, 0, 16, 0, 5.32807, 11.8352, 5.32807 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=8]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 0, 0, 11.8352, 0, 11.7417, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=9]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 11.5548, 0, 0, 0, 0, 11.0875, 11.5548, 11.0875 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=10]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 0, 0, 16, 0, 16, 11.4032, 12.8456, 11.4032, 11.6306, 11.4032, 11.724, 16, 0, 16, 0, 0 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=11]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 11.6306, 16, 0, 16, 0, 0, 11.6306, 0 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=12]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 11.4436, 0, 11.5371, 4.45152, 16, 4.54499, 16, 16, 0, 16, 0, 0 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=13]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 16, 0, 0, 0, 0, 11.2163, 16, 11.2163 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=14]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 16, 16, 0, 16, 0, 4.63845, 16, 4.63845 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=15]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 0, 11.4032, 0, 0, 16, 0, 16, 16, 3.18344, 16, 3.08997, 11.3097 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=16]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 16, 16, 3.08997, 16, 3.08997, 0, 16, 0 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=17]
|
2020-10-20 13:51:17 +00:00
|
|
|
polygon = PoolVector2Array( 0, 4.73192, 0, 4.73192, 3.18344, 4.73192, 3.18344, 0, 16, 0, 15.8945, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=18]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=19]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=20]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=21]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=22]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=23]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=24]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=25]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=26]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=27]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=28]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=29]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=30]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=31]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=32]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=33]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-11-10 13:51:34 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=34]
|
2020-10-20 13:51:17 +00:00
|
|
|
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
|
|
|
[sub_resource type="TileSet" id=35]
|
|
|
|
0/name = "tileset.png 0"
|
|
|
|
0/texture = ExtResource( 1 )
|
|
|
|
0/tex_offset = Vector2( 0, 0 )
|
|
|
|
0/modulate = Color( 1, 1, 1, 1 )
|
|
|
|
0/region = Rect2( 0, 0, 96, 48 )
|
|
|
|
0/tile_mode = 1
|
|
|
|
0/autotile/bitmask_mode = 0
|
|
|
|
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 256, Vector2( 0, 1 ), 260, Vector2( 0, 2 ), 4, Vector2( 1, 0 ), 320, Vector2( 1, 1 ), 325, Vector2( 1, 2 ), 5, Vector2( 2, 0 ), 64, Vector2( 2, 1 ), 65, Vector2( 2, 2 ), 1, Vector2( 3, 0 ), 69, Vector2( 3, 1 ), 65, Vector2( 3, 2 ), 321, Vector2( 4, 0 ), 5, Vector2( 4, 2 ), 320, Vector2( 5, 0 ), 261, Vector2( 5, 1 ), 260, Vector2( 5, 2 ), 324 ]
|
|
|
|
0/autotile/icon_coordinate = Vector2( 1, 0 )
|
|
|
|
0/autotile/tile_size = Vector2( 16, 16 )
|
|
|
|
0/autotile/spacing = 0
|
2020-11-10 13:51:34 +00:00
|
|
|
0/autotile/occluder_map = [ Vector2( 0, 0 ), SubResource( 1 ), Vector2( 0, 1 ), SubResource( 2 ), Vector2( 0, 2 ), SubResource( 3 ), Vector2( 1, 0 ), SubResource( 4 ), Vector2( 1, 1 ), SubResource( 5 ), Vector2( 1, 2 ), SubResource( 6 ), Vector2( 2, 0 ), SubResource( 7 ), Vector2( 2, 1 ), SubResource( 8 ), Vector2( 2, 2 ), SubResource( 9 ), Vector2( 3, 0 ), SubResource( 10 ), Vector2( 3, 1 ), SubResource( 11 ), Vector2( 3, 2 ), SubResource( 12 ), Vector2( 4, 0 ), SubResource( 13 ), Vector2( 4, 2 ), SubResource( 14 ), Vector2( 5, 0 ), SubResource( 15 ), Vector2( 5, 1 ), SubResource( 16 ), Vector2( 5, 2 ), SubResource( 17 ) ]
|
2020-09-14 15:21:59 +00:00
|
|
|
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 )
|
2020-11-10 13:51:34 +00:00
|
|
|
0/shape = SubResource( 18 )
|
2020-09-14 15:21:59 +00:00
|
|
|
0/shape_one_way = false
|
|
|
|
0/shape_one_way_margin = 1.0
|
|
|
|
0/shapes = [ {
|
2020-10-20 13:51:17 +00:00
|
|
|
"autotile_coord": Vector2( 0, 0 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 18 ),
|
2020-10-20 13:51:17 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
2020-09-14 15:21:59 +00:00
|
|
|
"autotile_coord": Vector2( 1, 0 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 19 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 2, 0 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 20 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 0, 1 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 21 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 1, 1 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 22 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 2, 1 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 23 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 0, 2 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 24 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 1, 2 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 25 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 2, 2 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 26 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 3, 0 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 27 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 3, 1 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 28 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 3, 2 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 29 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 4, 0 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 30 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 4, 2 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 31 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 5, 0 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 32 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 5, 1 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 33 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
}, {
|
|
|
|
"autotile_coord": Vector2( 5, 2 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2020-11-10 13:51:34 +00:00
|
|
|
"shape": SubResource( 34 ),
|
2020-09-14 15:21:59 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
} ]
|
|
|
|
0/z_index = 0
|
|
|
|
|
|
|
|
[node name="SolidsTileMap" type="TileMap"]
|
2020-11-28 18:19:54 +00:00
|
|
|
light_mask = 8
|
2020-09-14 15:21:59 +00:00
|
|
|
tile_set = SubResource( 35 )
|
|
|
|
cell_size = Vector2( 16, 16 )
|
|
|
|
collision_layer = 9
|
|
|
|
collision_mask = 0
|
|
|
|
format = 1
|