Compare commits
5 commits
b55eb64385
...
7c204642f2
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c204642f2 | |||
| 6417f384d3 | |||
| ffd6603eba | |||
| 4dcf30d106 | |||
| 9950ae3907 |
2 changed files with 12 additions and 53 deletions
|
|
@ -1,27 +1,24 @@
|
|||
[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_0eg00"]
|
||||
[ext_resource type="Texture2D" uid="uid://cq0km3t581pky" path="res://assets/world/grass.aseprite" id="1_jl213"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="2"]
|
||||
resource_name = "bush"
|
||||
texture = ExtResource("1_0eg00")
|
||||
texture = ExtResource("1_jl213")
|
||||
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)
|
||||
|
|
@ -29,14 +26,12 @@ 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)
|
||||
|
|
@ -46,7 +41,6 @@ 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)
|
||||
|
|
@ -55,7 +49,6 @@ 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)
|
||||
|
|
@ -64,7 +57,6 @@ 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)
|
||||
|
|
@ -74,7 +66,6 @@ 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)
|
||||
|
|
@ -82,7 +73,6 @@ 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)
|
||||
|
|
@ -93,7 +83,6 @@ 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)
|
||||
|
|
@ -103,7 +92,6 @@ 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)
|
||||
|
|
@ -111,14 +99,12 @@ 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)
|
||||
|
|
@ -126,7 +112,6 @@ 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)
|
||||
|
|
@ -135,7 +120,6 @@ 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)
|
||||
|
|
@ -143,7 +127,6 @@ 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)
|
||||
|
|
@ -152,7 +135,6 @@ 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)
|
||||
|
|
@ -164,7 +146,6 @@ 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)
|
||||
|
|
@ -176,7 +157,6 @@ 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)
|
||||
|
|
@ -185,7 +165,6 @@ 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)
|
||||
|
|
@ -195,7 +174,6 @@ 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)
|
||||
|
|
@ -206,9 +184,7 @@ 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)
|
||||
|
|
@ -219,20 +195,17 @@ 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)
|
||||
|
|
@ -240,14 +213,12 @@ 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)
|
||||
|
|
@ -256,7 +227,6 @@ 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)
|
||||
|
|
@ -268,7 +238,6 @@ 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)
|
||||
|
|
@ -280,7 +249,6 @@ 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)
|
||||
|
|
@ -289,7 +257,6 @@ 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)
|
||||
|
|
@ -300,7 +267,6 @@ 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)
|
||||
|
|
@ -313,7 +279,6 @@ 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)
|
||||
|
|
@ -324,7 +289,6 @@ 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)
|
||||
|
|
@ -334,31 +298,26 @@ 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)
|
||||
|
|
@ -368,7 +327,6 @@ 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)
|
||||
|
|
@ -377,7 +335,6 @@ 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)
|
||||
|
|
@ -386,7 +343,6 @@ 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)
|
||||
|
|
@ -396,7 +352,6 @@ 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)
|
||||
|
|
@ -404,7 +359,6 @@ 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)
|
||||
|
|
@ -414,7 +368,6 @@ 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)
|
||||
|
|
@ -425,7 +378,6 @@ 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,10 +3,17 @@ extends RoomState
|
|||
|
||||
func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
|
||||
print("entering room")
|
||||
room.player = room.player_scene.instantiate()
|
||||
room.add_child(room.player)
|
||||
room.player.global_position = room.initial_spawn
|
||||
room.player = _instantiate_player()
|
||||
assert(room.player != null, "player is null")
|
||||
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