Compare commits
No commits in common. "7c204642f2509e7882456f02692d0ade5214576b" and "b55eb643851edce70475dfc39dd6de0f35521a8a" have entirely different histories.
7c204642f2
...
b55eb64385
2 changed files with 53 additions and 12 deletions
|
|
@ -1,24 +1,27 @@
|
|||
[gd_resource type="TileSet" load_steps=3 format=3 uid="uid://pq8rue1s8kgc"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cq0km3t581pky" path="res://assets/world/grass.aseprite" id="1_jl213"]
|
||||
[ext_resource type="Texture2D" uid="uid://cq0km3t581pky" path="res://assets/world/grass.aseprite" id="1_0eg00"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="2"]
|
||||
resource_name = "bush"
|
||||
texture = ExtResource("1_jl213")
|
||||
texture = ExtResource("1_0eg00")
|
||||
separation = Vector2i(1, 1)
|
||||
texture_region_size = Vector2i(18, 18)
|
||||
0:0/0 = 0
|
||||
0:0/0/z_index = 1
|
||||
0:0/0/terrain_set = 0
|
||||
0:0/0/terrain = 0
|
||||
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:0/0/terrains_peering_bit/bottom_side = 0
|
||||
1:0/0 = 0
|
||||
1:0/0/z_index = 1
|
||||
1:0/0/terrain_set = 0
|
||||
1:0/0/terrain = 0
|
||||
1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:0/0/terrains_peering_bit/right_side = 0
|
||||
1:0/0/terrains_peering_bit/bottom_side = 0
|
||||
2:0/0 = 0
|
||||
2:0/0/z_index = 1
|
||||
2:0/0/terrain_set = 0
|
||||
2:0/0/terrain = 0
|
||||
2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -26,12 +29,14 @@ texture_region_size = Vector2i(18, 18)
|
|||
2:0/0/terrains_peering_bit/bottom_side = 0
|
||||
2:0/0/terrains_peering_bit/left_side = 0
|
||||
3:0/0 = 0
|
||||
3:0/0/z_index = 1
|
||||
3:0/0/terrain_set = 0
|
||||
3:0/0/terrain = 0
|
||||
3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:0/0/terrains_peering_bit/bottom_side = 0
|
||||
3:0/0/terrains_peering_bit/left_side = 0
|
||||
4:0/0 = 0
|
||||
4:0/0/z_index = 1
|
||||
4:0/0/terrain_set = 0
|
||||
4:0/0/terrain = 0
|
||||
4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -41,6 +46,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
4:0/0/terrains_peering_bit/top_left_corner = 0
|
||||
4:0/0/terrains_peering_bit/top_side = 0
|
||||
5:0/0 = 0
|
||||
5:0/0/z_index = 1
|
||||
5:0/0/terrain_set = 0
|
||||
5:0/0/terrain = 0
|
||||
5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -49,6 +55,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
5:0/0/terrains_peering_bit/bottom_side = 0
|
||||
5:0/0/terrains_peering_bit/left_side = 0
|
||||
6:0/0 = 0
|
||||
6:0/0/z_index = 1
|
||||
6:0/0/terrain_set = 0
|
||||
6:0/0/terrain = 0
|
||||
6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -57,6 +64,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
6:0/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
6:0/0/terrains_peering_bit/left_side = 0
|
||||
7:0/0 = 0
|
||||
7:0/0/z_index = 1
|
||||
7:0/0/terrain_set = 0
|
||||
7:0/0/terrain = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -66,6 +74,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
7:0/0/terrains_peering_bit/top_side = 0
|
||||
7:0/0/terrains_peering_bit/top_right_corner = 0
|
||||
8:0/0 = 0
|
||||
8:0/0/z_index = 1
|
||||
8:0/0/terrain_set = 0
|
||||
8:0/0/terrain = 0
|
||||
8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -73,6 +82,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
8:0/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
8:0/0/terrains_peering_bit/bottom_side = 0
|
||||
9:0/0 = 0
|
||||
9:0/0/z_index = 1
|
||||
9:0/0/terrain_set = 0
|
||||
9:0/0/terrain = 0
|
||||
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -83,6 +93,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
9:0/0/terrains_peering_bit/left_side = 0
|
||||
9:0/0/terrains_peering_bit/top_side = 0
|
||||
10:0/0 = 0
|
||||
10:0/0/z_index = 1
|
||||
10:0/0/terrain_set = 0
|
||||
10:0/0/terrain = 0
|
||||
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -92,6 +103,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
10:0/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
10:0/0/terrains_peering_bit/left_side = 0
|
||||
11:0/0 = 0
|
||||
11:0/0/z_index = 1
|
||||
11:0/0/terrain_set = 0
|
||||
11:0/0/terrain = 0
|
||||
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -99,12 +111,14 @@ texture_region_size = Vector2i(18, 18)
|
|||
11:0/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
11:0/0/terrains_peering_bit/left_side = 0
|
||||
0:1/0 = 0
|
||||
0:1/0/z_index = 1
|
||||
0:1/0/terrain_set = 0
|
||||
0:1/0/terrain = 0
|
||||
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:1/0/terrains_peering_bit/bottom_side = 0
|
||||
0:1/0/terrains_peering_bit/top_side = 0
|
||||
1:1/0 = 0
|
||||
1:1/0/z_index = 1
|
||||
1:1/0/terrain_set = 0
|
||||
1:1/0/terrain = 0
|
||||
1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -112,6 +126,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
1:1/0/terrains_peering_bit/bottom_side = 0
|
||||
1:1/0/terrains_peering_bit/top_side = 0
|
||||
2:1/0 = 0
|
||||
2:1/0/z_index = 1
|
||||
2:1/0/terrain_set = 0
|
||||
2:1/0/terrain = 0
|
||||
2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -120,6 +135,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
2:1/0/terrains_peering_bit/left_side = 0
|
||||
2:1/0/terrains_peering_bit/top_side = 0
|
||||
3:1/0 = 0
|
||||
3:1/0/z_index = 1
|
||||
3:1/0/terrain_set = 0
|
||||
3:1/0/terrain = 0
|
||||
3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -127,6 +143,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
3:1/0/terrains_peering_bit/left_side = 0
|
||||
3:1/0/terrains_peering_bit/top_side = 0
|
||||
4:1/0 = 0
|
||||
4:1/0/z_index = 1
|
||||
4:1/0/terrain_set = 0
|
||||
4:1/0/terrain = 0
|
||||
4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -135,6 +152,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
4:1/0/terrains_peering_bit/bottom_side = 0
|
||||
4:1/0/terrains_peering_bit/top_side = 0
|
||||
5:1/0 = 0
|
||||
5:1/0/z_index = 1
|
||||
5:1/0/terrain_set = 0
|
||||
5:1/0/terrain = 0
|
||||
5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -146,6 +164,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
5:1/0/terrains_peering_bit/top_side = 0
|
||||
5:1/0/terrains_peering_bit/top_right_corner = 0
|
||||
6:1/0 = 0
|
||||
6:1/0/z_index = 1
|
||||
6:1/0/terrain_set = 0
|
||||
6:1/0/terrain = 0
|
||||
6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -157,6 +176,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
6:1/0/terrains_peering_bit/top_left_corner = 0
|
||||
6:1/0/terrains_peering_bit/top_side = 0
|
||||
7:1/0 = 0
|
||||
7:1/0/z_index = 1
|
||||
7:1/0/terrain_set = 0
|
||||
7:1/0/terrain = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -165,6 +185,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
7:1/0/terrains_peering_bit/left_side = 0
|
||||
7:1/0/terrains_peering_bit/top_side = 0
|
||||
8:1/0 = 0
|
||||
8:1/0/z_index = 1
|
||||
8:1/0/terrain_set = 0
|
||||
8:1/0/terrain = 0
|
||||
8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -174,6 +195,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
8:1/0/terrains_peering_bit/top_side = 0
|
||||
8:1/0/terrains_peering_bit/top_right_corner = 0
|
||||
9:1/0 = 0
|
||||
9:1/0/z_index = 1
|
||||
9:1/0/terrain_set = 0
|
||||
9:1/0/terrain = 0
|
||||
9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -184,7 +206,9 @@ texture_region_size = Vector2i(18, 18)
|
|||
9:1/0/terrains_peering_bit/top_side = 0
|
||||
9:1/0/terrains_peering_bit/top_right_corner = 0
|
||||
10:1/0 = 0
|
||||
10:1/0/z_index = 1
|
||||
11:1/0 = 0
|
||||
11:1/0/z_index = 1
|
||||
11:1/0/terrain_set = 0
|
||||
11:1/0/terrain = 0
|
||||
11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -195,17 +219,20 @@ texture_region_size = Vector2i(18, 18)
|
|||
11:1/0/terrains_peering_bit/top_left_corner = 0
|
||||
11:1/0/terrains_peering_bit/top_side = 0
|
||||
0:2/0 = 0
|
||||
0:2/0/z_index = 1
|
||||
0:2/0/terrain_set = 0
|
||||
0:2/0/terrain = 0
|
||||
0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:2/0/terrains_peering_bit/top_side = 0
|
||||
1:2/0 = 0
|
||||
1:2/0/z_index = 1
|
||||
1:2/0/terrain_set = 0
|
||||
1:2/0/terrain = 0
|
||||
1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:2/0/terrains_peering_bit/right_side = 0
|
||||
1:2/0/terrains_peering_bit/top_side = 0
|
||||
2:2/0 = 0
|
||||
2:2/0/z_index = 1
|
||||
2:2/0/terrain_set = 0
|
||||
2:2/0/terrain = 0
|
||||
2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -213,12 +240,14 @@ texture_region_size = Vector2i(18, 18)
|
|||
2:2/0/terrains_peering_bit/left_side = 0
|
||||
2:2/0/terrains_peering_bit/top_side = 0
|
||||
3:2/0 = 0
|
||||
3:2/0/z_index = 1
|
||||
3:2/0/terrain_set = 0
|
||||
3:2/0/terrain = 0
|
||||
3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:2/0/terrains_peering_bit/left_side = 0
|
||||
3:2/0/terrains_peering_bit/top_side = 0
|
||||
4:2/0 = 0
|
||||
4:2/0/z_index = 1
|
||||
4:2/0/terrain_set = 0
|
||||
4:2/0/terrain = 0
|
||||
4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -227,6 +256,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
4:2/0/terrains_peering_bit/top_side = 0
|
||||
4:2/0/terrains_peering_bit/top_right_corner = 0
|
||||
5:2/0 = 0
|
||||
5:2/0/z_index = 1
|
||||
5:2/0/terrain_set = 0
|
||||
5:2/0/terrain = 0
|
||||
5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -238,6 +268,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
5:2/0/terrains_peering_bit/top_side = 0
|
||||
5:2/0/terrains_peering_bit/top_right_corner = 0
|
||||
6:2/0 = 0
|
||||
6:2/0/z_index = 1
|
||||
6:2/0/terrain_set = 0
|
||||
6:2/0/terrain = 0
|
||||
6:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -249,6 +280,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
6:2/0/terrains_peering_bit/top_side = 0
|
||||
6:2/0/terrains_peering_bit/top_right_corner = 0
|
||||
7:2/0 = 0
|
||||
7:2/0/z_index = 1
|
||||
7:2/0/terrain_set = 0
|
||||
7:2/0/terrain = 0
|
||||
7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -257,6 +289,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
7:2/0/terrains_peering_bit/top_left_corner = 0
|
||||
7:2/0/terrains_peering_bit/top_side = 0
|
||||
8:2/0 = 0
|
||||
8:2/0/z_index = 1
|
||||
8:2/0/terrain_set = 0
|
||||
8:2/0/terrain = 0
|
||||
8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -267,6 +300,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
8:2/0/terrains_peering_bit/top_side = 0
|
||||
8:2/0/terrains_peering_bit/top_right_corner = 0
|
||||
9:2/0 = 0
|
||||
9:2/0/z_index = 1
|
||||
9:2/0/terrain_set = 0
|
||||
9:2/0/terrain = 0
|
||||
9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -279,6 +313,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
9:2/0/terrains_peering_bit/top_side = 0
|
||||
9:2/0/terrains_peering_bit/top_right_corner = 0
|
||||
10:2/0 = 0
|
||||
10:2/0/z_index = 1
|
||||
10:2/0/terrain_set = 0
|
||||
10:2/0/terrain = 0
|
||||
10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -289,6 +324,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
10:2/0/terrains_peering_bit/top_left_corner = 0
|
||||
10:2/0/terrains_peering_bit/top_side = 0
|
||||
11:2/0 = 0
|
||||
11:2/0/z_index = 1
|
||||
11:2/0/terrain_set = 0
|
||||
11:2/0/terrain = 0
|
||||
11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -298,26 +334,31 @@ texture_region_size = Vector2i(18, 18)
|
|||
11:2/0/terrains_peering_bit/top_left_corner = 0
|
||||
11:2/0/terrains_peering_bit/top_side = 0
|
||||
0:3/0 = 0
|
||||
0:3/0/z_index = 1
|
||||
0:3/0/terrain_set = 0
|
||||
0:3/0/terrain = 0
|
||||
0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:3/0 = 0
|
||||
1:3/0/z_index = 1
|
||||
1:3/0/terrain_set = 0
|
||||
1:3/0/terrain = 0
|
||||
1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
1:3/0/terrains_peering_bit/right_side = 0
|
||||
2:3/0 = 0
|
||||
2:3/0/z_index = 1
|
||||
2:3/0/terrain_set = 0
|
||||
2:3/0/terrain = 0
|
||||
2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:3/0/terrains_peering_bit/right_side = 0
|
||||
2:3/0/terrains_peering_bit/left_side = 0
|
||||
3:3/0 = 0
|
||||
3:3/0/z_index = 1
|
||||
3:3/0/terrain_set = 0
|
||||
3:3/0/terrain = 0
|
||||
3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:3/0/terrains_peering_bit/left_side = 0
|
||||
4:3/0 = 0
|
||||
4:3/0/z_index = 1
|
||||
4:3/0/terrain_set = 0
|
||||
4:3/0/terrain = 0
|
||||
4:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -327,6 +368,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
4:3/0/terrains_peering_bit/left_side = 0
|
||||
4:3/0/terrains_peering_bit/top_side = 0
|
||||
5:3/0 = 0
|
||||
5:3/0/z_index = 1
|
||||
5:3/0/terrain_set = 0
|
||||
5:3/0/terrain = 0
|
||||
5:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -335,6 +377,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
5:3/0/terrains_peering_bit/top_side = 0
|
||||
5:3/0/terrains_peering_bit/top_right_corner = 0
|
||||
6:3/0 = 0
|
||||
6:3/0/z_index = 1
|
||||
6:3/0/terrain_set = 0
|
||||
6:3/0/terrain = 0
|
||||
6:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -343,6 +386,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
6:3/0/terrains_peering_bit/top_left_corner = 0
|
||||
6:3/0/terrains_peering_bit/top_side = 0
|
||||
7:3/0 = 0
|
||||
7:3/0/z_index = 1
|
||||
7:3/0/terrain_set = 0
|
||||
7:3/0/terrain = 0
|
||||
7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -352,6 +396,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
7:3/0/terrains_peering_bit/left_side = 0
|
||||
7:3/0/terrains_peering_bit/top_side = 0
|
||||
8:3/0 = 0
|
||||
8:3/0/z_index = 1
|
||||
8:3/0/terrain_set = 0
|
||||
8:3/0/terrain = 0
|
||||
8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -359,6 +404,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
8:3/0/terrains_peering_bit/top_side = 0
|
||||
8:3/0/terrains_peering_bit/top_right_corner = 0
|
||||
9:3/0 = 0
|
||||
9:3/0/z_index = 1
|
||||
9:3/0/terrain_set = 0
|
||||
9:3/0/terrain = 0
|
||||
9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -368,6 +414,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
9:3/0/terrains_peering_bit/top_side = 0
|
||||
9:3/0/terrains_peering_bit/top_right_corner = 0
|
||||
10:3/0 = 0
|
||||
10:3/0/z_index = 1
|
||||
10:3/0/terrain_set = 0
|
||||
10:3/0/terrain = 0
|
||||
10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -378,6 +425,7 @@ texture_region_size = Vector2i(18, 18)
|
|||
10:3/0/terrains_peering_bit/top_side = 0
|
||||
10:3/0/terrains_peering_bit/top_right_corner = 0
|
||||
11:3/0 = 0
|
||||
11:3/0/z_index = 1
|
||||
11:3/0/terrain_set = 0
|
||||
11:3/0/terrain = 0
|
||||
11:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
|
@ -3,17 +3,10 @@ extends RoomState
|
|||
|
||||
func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
|
||||
print("entering room")
|
||||
room.player = _instantiate_player()
|
||||
assert(room.player != null, "player is null")
|
||||
room.player = room.player_scene.instantiate()
|
||||
room.add_child(room.player)
|
||||
room.player.global_position = room.initial_spawn
|
||||
room.camera.global_position = room.config.camera_position
|
||||
|
||||
finished.emit(PLAYING)
|
||||
return
|
||||
|
||||
|
||||
func _instantiate_player() -> Player:
|
||||
var p: Player = room.player_scene.instantiate()
|
||||
room.add_child(p)
|
||||
p.global_position = room.initial_spawn
|
||||
|
||||
return p
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue