|
@@ -3,209 +3,347 @@
|
|
|
[ext_resource path="res://tiles_demo.png" type="Texture" id=1]
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=1]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, -12, 16, -12, 16, 16, -16, 16 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=2]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, 16, -16, -12, 12, -12, 12, 16 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=3]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, -16, 16, -16, 16, 16, -16, 16 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=4]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, -28, 16, 4, 16, 32, -16, 32 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=5]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, 16, -16, -16, 12, -16, 12, 16 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=6]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, -12, 16, -12, 16, 12, -16, 12 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=7]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, -12, 12, -12, 12, 12, -16, 12 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=8]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, 16, -16, -16, 12, -16, 12, 16 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=9]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -32, 16, -32, -16, -4, -16, -4, 16 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=10]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, 16, -16, -16, 12, -16, 16, -12, 16, 16 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=11]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, 16, -16, -12, 16, -12, 16, 16 )
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=12]
|
|
|
-
|
|
|
-custom_solver_bias = 0.0
|
|
|
points = PoolVector2Array( -16, 16, -16, -12, 16, -12, 16, 16 )
|
|
|
|
|
|
[resource]
|
|
|
-
|
|
|
0/name = "floor"
|
|
|
0/texture = ExtResource( 1 )
|
|
|
0/tex_offset = Vector2( 0, 0 )
|
|
|
0/modulate = Color( 1, 1, 1, 1 )
|
|
|
0/region = Rect2( 0, 0, 32, 32 )
|
|
|
+0/tile_mode = 0
|
|
|
0/occluder_offset = Vector2( 16, 16 )
|
|
|
0/navigation_offset = Vector2( 16, 16 )
|
|
|
0/shape_offset = Vector2( 16, 16 )
|
|
|
-0/shapes = [ SubResource( 1 ) ]
|
|
|
+0/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+0/shape = SubResource( 1 )
|
|
|
+0/shape_one_way = false
|
|
|
+0/shape_one_way_margin = 1.0
|
|
|
+0/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 1 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+0/z_index = 0
|
|
|
1/name = "edge"
|
|
|
1/texture = ExtResource( 1 )
|
|
|
1/tex_offset = Vector2( 0, 0 )
|
|
|
1/modulate = Color( 1, 1, 1, 1 )
|
|
|
1/region = Rect2( 32, 0, 32, 32 )
|
|
|
+1/tile_mode = 0
|
|
|
1/occluder_offset = Vector2( 16, 16 )
|
|
|
1/navigation_offset = Vector2( 16, 16 )
|
|
|
1/shape_offset = Vector2( 16, 16 )
|
|
|
-1/shapes = [ SubResource( 2 ) ]
|
|
|
+1/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+1/shape = SubResource( 2 )
|
|
|
+1/shape_one_way = false
|
|
|
+1/shape_one_way_margin = 1.0
|
|
|
+1/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 2 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+1/z_index = 0
|
|
|
2/name = "wall"
|
|
|
2/texture = ExtResource( 1 )
|
|
|
2/tex_offset = Vector2( 0, 0 )
|
|
|
2/modulate = Color( 1, 1, 1, 1 )
|
|
|
2/region = Rect2( 32, 32, 32, 32 )
|
|
|
+2/tile_mode = 0
|
|
|
2/occluder_offset = Vector2( 16, 16 )
|
|
|
2/navigation_offset = Vector2( 16, 16 )
|
|
|
2/shape_offset = Vector2( 16, 16 )
|
|
|
-2/shapes = [ SubResource( 8 ) ]
|
|
|
+2/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+2/shape = SubResource( 8 )
|
|
|
+2/shape_one_way = false
|
|
|
+2/shape_one_way_margin = 1.0
|
|
|
+2/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 8 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+2/z_index = 0
|
|
|
3/name = "wall_deco"
|
|
|
3/texture = ExtResource( 1 )
|
|
|
3/tex_offset = Vector2( 0, 0 )
|
|
|
3/modulate = Color( 1, 1, 1, 1 )
|
|
|
3/region = Rect2( 160, 64, 64, 32 )
|
|
|
+3/tile_mode = 0
|
|
|
3/occluder_offset = Vector2( 32, 16 )
|
|
|
3/navigation_offset = Vector2( 32, 16 )
|
|
|
3/shape_offset = Vector2( 32, 16 )
|
|
|
-3/shapes = [ SubResource( 9 ) ]
|
|
|
+3/shape_transform = Transform2D( 1, 0, 0, 1, 32, 16 )
|
|
|
+3/shape = SubResource( 9 )
|
|
|
+3/shape_one_way = false
|
|
|
+3/shape_one_way_margin = 1.0
|
|
|
+3/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 9 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 32, 16 )
|
|
|
+} ]
|
|
|
+3/z_index = 0
|
|
|
4/name = "corner"
|
|
|
4/texture = ExtResource( 1 )
|
|
|
4/tex_offset = Vector2( 0, 0 )
|
|
|
4/modulate = Color( 1, 1, 1, 1 )
|
|
|
4/region = Rect2( 32, 64, 32, 32 )
|
|
|
+4/tile_mode = 0
|
|
|
4/occluder_offset = Vector2( 16, 16 )
|
|
|
4/navigation_offset = Vector2( 16, 16 )
|
|
|
4/shape_offset = Vector2( 16, 16 )
|
|
|
-4/shapes = [ SubResource( 10 ) ]
|
|
|
+4/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+4/shape = SubResource( 10 )
|
|
|
+4/shape_one_way = false
|
|
|
+4/shape_one_way_margin = 1.0
|
|
|
+4/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 10 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+4/z_index = 0
|
|
|
5/name = "flowers"
|
|
|
5/texture = ExtResource( 1 )
|
|
|
5/tex_offset = Vector2( 0, 0 )
|
|
|
5/modulate = Color( 1, 1, 1, 1 )
|
|
|
5/region = Rect2( 96, 96, 32, 32 )
|
|
|
+5/tile_mode = 0
|
|
|
5/occluder_offset = Vector2( 16, 16 )
|
|
|
5/navigation_offset = Vector2( 16, 16 )
|
|
|
5/shape_offset = Vector2( 16, 16 )
|
|
|
-5/shapes = [ SubResource( 11 ) ]
|
|
|
+5/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+5/shape = SubResource( 11 )
|
|
|
+5/shape_one_way = false
|
|
|
+5/shape_one_way_margin = 1.0
|
|
|
+5/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 11 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+5/z_index = 0
|
|
|
6/name = "tree_base"
|
|
|
6/texture = ExtResource( 1 )
|
|
|
6/tex_offset = Vector2( 0, 0 )
|
|
|
6/modulate = Color( 1, 1, 1, 1 )
|
|
|
6/region = Rect2( 128, 96, 32, 32 )
|
|
|
+6/tile_mode = 0
|
|
|
6/occluder_offset = Vector2( 16, 16 )
|
|
|
6/navigation_offset = Vector2( 16, 16 )
|
|
|
6/shape_offset = Vector2( 16, 16 )
|
|
|
-6/shapes = [ SubResource( 12 ) ]
|
|
|
+6/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+6/shape = SubResource( 12 )
|
|
|
+6/shape_one_way = false
|
|
|
+6/shape_one_way_margin = 1.0
|
|
|
+6/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 12 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+6/z_index = 0
|
|
|
7/name = "tree_mid"
|
|
|
7/texture = ExtResource( 1 )
|
|
|
7/tex_offset = Vector2( 0, 0 )
|
|
|
7/modulate = Color( 1, 1, 1, 1 )
|
|
|
7/region = Rect2( 128, 64, 32, 32 )
|
|
|
+7/tile_mode = 0
|
|
|
7/occluder_offset = Vector2( 16, 16 )
|
|
|
7/navigation_offset = Vector2( 16, 16 )
|
|
|
7/shape_offset = Vector2( 0, 0 )
|
|
|
+7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
+7/shape_one_way = false
|
|
|
+7/shape_one_way_margin = 0.0
|
|
|
7/shapes = [ ]
|
|
|
+7/z_index = 0
|
|
|
8/name = "tree_mid 2"
|
|
|
8/texture = ExtResource( 1 )
|
|
|
8/tex_offset = Vector2( 0, 0 )
|
|
|
8/modulate = Color( 1, 1, 1, 1 )
|
|
|
8/region = Rect2( 128, 32, 32, 32 )
|
|
|
+8/tile_mode = 0
|
|
|
8/occluder_offset = Vector2( 16, 16 )
|
|
|
8/navigation_offset = Vector2( 16, 16 )
|
|
|
8/shape_offset = Vector2( 0, 0 )
|
|
|
+8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
+8/shape_one_way = false
|
|
|
+8/shape_one_way_margin = 0.0
|
|
|
8/shapes = [ ]
|
|
|
+8/z_index = 0
|
|
|
9/name = "tree_top"
|
|
|
9/texture = ExtResource( 1 )
|
|
|
9/tex_offset = Vector2( 0, 0 )
|
|
|
9/modulate = Color( 1, 1, 1, 1 )
|
|
|
9/region = Rect2( 128, 0, 32, 32 )
|
|
|
+9/tile_mode = 0
|
|
|
9/occluder_offset = Vector2( 16, 16 )
|
|
|
9/navigation_offset = Vector2( 16, 16 )
|
|
|
9/shape_offset = Vector2( 0, 0 )
|
|
|
+9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
+9/shape_one_way = false
|
|
|
+9/shape_one_way_margin = 0.0
|
|
|
9/shapes = [ ]
|
|
|
+9/z_index = 0
|
|
|
10/name = "solid"
|
|
|
10/texture = ExtResource( 1 )
|
|
|
10/tex_offset = Vector2( 0, 0 )
|
|
|
10/modulate = Color( 1, 1, 1, 1 )
|
|
|
10/region = Rect2( 0, 32, 32, 32 )
|
|
|
+10/tile_mode = 0
|
|
|
10/occluder_offset = Vector2( 16, 16 )
|
|
|
10/navigation_offset = Vector2( 16, 16 )
|
|
|
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 = "ceiling"
|
|
|
11/texture = ExtResource( 1 )
|
|
|
11/tex_offset = Vector2( 0, 0 )
|
|
|
11/modulate = Color( 1, 1, 1, 1 )
|
|
|
11/region = Rect2( 192, 32, 32, 32 )
|
|
|
+11/tile_mode = 0
|
|
|
11/occluder_offset = Vector2( 16, 16 )
|
|
|
11/navigation_offset = Vector2( 16, 16 )
|
|
|
11/shape_offset = Vector2( 16, 16 )
|
|
|
-11/shapes = [ SubResource( 3 ) ]
|
|
|
+11/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+11/shape = SubResource( 3 )
|
|
|
+11/shape_one_way = false
|
|
|
+11/shape_one_way_margin = 1.0
|
|
|
+11/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 3 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+11/z_index = 0
|
|
|
12/name = "ramp"
|
|
|
12/texture = ExtResource( 1 )
|
|
|
12/tex_offset = Vector2( 0, 0 )
|
|
|
12/modulate = Color( 1, 1, 1, 1 )
|
|
|
12/region = Rect2( 64, 64, 32, 64 )
|
|
|
+12/tile_mode = 0
|
|
|
12/occluder_offset = Vector2( 16, 32 )
|
|
|
12/navigation_offset = Vector2( 16, 32 )
|
|
|
12/shape_offset = Vector2( 16, 32 )
|
|
|
-12/shapes = [ SubResource( 4 ) ]
|
|
|
+12/shape_transform = Transform2D( 1, 0, 0, 1, 16, 32 )
|
|
|
+12/shape = SubResource( 4 )
|
|
|
+12/shape_one_way = false
|
|
|
+12/shape_one_way_margin = 1.0
|
|
|
+12/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 4 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 32 )
|
|
|
+} ]
|
|
|
+12/z_index = 0
|
|
|
13/name = "ceiling2wall"
|
|
|
13/texture = ExtResource( 1 )
|
|
|
13/tex_offset = Vector2( 0, 0 )
|
|
|
13/modulate = Color( 1, 1, 1, 1 )
|
|
|
13/region = Rect2( 224, 32, 32, 32 )
|
|
|
+13/tile_mode = 0
|
|
|
13/occluder_offset = Vector2( 16, 16 )
|
|
|
13/navigation_offset = Vector2( 16, 16 )
|
|
|
13/shape_offset = Vector2( 16, 16 )
|
|
|
-13/shapes = [ SubResource( 5 ) ]
|
|
|
+13/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+13/shape = SubResource( 5 )
|
|
|
+13/shape_one_way = false
|
|
|
+13/shape_one_way_margin = 1.0
|
|
|
+13/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 5 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+13/z_index = 0
|
|
|
14/name = "platform_floor"
|
|
|
14/texture = ExtResource( 1 )
|
|
|
14/tex_offset = Vector2( 0, 0 )
|
|
|
14/modulate = Color( 1, 1, 1, 1 )
|
|
|
14/region = Rect2( 64, 0, 32, 32 )
|
|
|
+14/tile_mode = 0
|
|
|
14/occluder_offset = Vector2( 16, 16 )
|
|
|
14/navigation_offset = Vector2( 16, 16 )
|
|
|
14/shape_offset = Vector2( 16, 16 )
|
|
|
-14/shapes = [ SubResource( 6 ) ]
|
|
|
+14/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+14/shape = SubResource( 6 )
|
|
|
+14/shape_one_way = false
|
|
|
+14/shape_one_way_margin = 1.0
|
|
|
+14/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 6 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+14/z_index = 0
|
|
|
15/name = "platform_edge"
|
|
|
15/texture = ExtResource( 1 )
|
|
|
15/tex_offset = Vector2( 0, 0 )
|
|
|
15/modulate = Color( 1, 1, 1, 1 )
|
|
|
15/region = Rect2( 96, 0, 32, 32 )
|
|
|
+15/tile_mode = 0
|
|
|
15/occluder_offset = Vector2( 16, 16 )
|
|
|
15/navigation_offset = Vector2( 16, 16 )
|
|
|
15/shape_offset = Vector2( 16, 16 )
|
|
|
-15/shapes = [ SubResource( 7 ) ]
|
|
|
-
|
|
|
+15/shape_transform = Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+15/shape = SubResource( 7 )
|
|
|
+15/shape_one_way = false
|
|
|
+15/shape_one_way_margin = 1.0
|
|
|
+15/shapes = [ {
|
|
|
+"autotile_coord": Vector2( 0, 0 ),
|
|
|
+"one_way": false,
|
|
|
+"one_way_margin": 1.0,
|
|
|
+"shape": SubResource( 7 ),
|
|
|
+"shape_transform": Transform2D( 1, 0, 0, 1, 16, 16 )
|
|
|
+} ]
|
|
|
+15/z_index = 0
|