diff --git a/scenes/map_05.tscn b/scenes/map_05.tscn index 569988e..1a5fde3 100644 --- a/scenes/map_05.tscn +++ b/scenes/map_05.tscn @@ -7,16 +7,16 @@ [ext_resource type="Script" path="res://scripts/generate_road_polyon.gd" id="6_vdo8x"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] -size = Vector2(23, 327) +size = Vector2(23, 178.25) [sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] -size = Vector2(35.75, 116) +size = Vector2(104.875, 118) [sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] -size = Vector2(165, 34) +size = Vector2(23, 111) [sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] -size = Vector2(53, 71) +size = Vector2(144.75, 60.5) [node name="Map" type="Node"] @@ -31,8 +31,7 @@ texture = ExtResource("1_nq5g7") [node name="Line2D2_right" type="Line2D" parent="."] z_index = 1 -points = PackedVector2Array(-329, 133, 294, 132, 607, 4, 973, 8, 980, -637, 290, -642, 236, -623, 193, -601, 150, -591, -30, -590, -63, -617, -103, -670, -162, -699, -621, -702, -615, 131, -346, 132) -closed = true +points = PackedVector2Array(-270, 217, 302, 221, 395, 201, 484, 151, 554, 93, 620, 66, 755, 58, 881, 54, 995, -14, 1049, -91, 1080, -476) width = 6.0 texture = ExtResource("3_mivmq") texture_mode = 1 @@ -50,8 +49,7 @@ texture_mode = 1 [node name="Line2D2_left" type="Line2D" parent="."] z_index = 1 -points = PackedVector2Array(-278, -253, 284, -244, 614, -124, 768, -121, 868, -212, 869, -562, 323, -572, 279, -551, 250, -529, 213, -513, -44, -510, -118, -530, -170, -567, -212, -596, -462, -603, -487, -623, -522, -624, -521, -587, -485, -556, -469, -48, -293, -244) -closed = true +points = PackedVector2Array(-276, -244, 284, -244, 417, -217, 507, -176, 603, -121, 693, -102, 819, -98, 906, -140, 952, -239, 951, -350) width = 6.0 texture = ExtResource("3_mivmq") texture_mode = 1 @@ -67,18 +65,62 @@ width = 28.0 texture = ExtResource("5_5a0eo") texture_mode = 1 -[node name="Polygon2D" type="Polygon2D" parent="." node_paths=PackedStringArray("line_road_left", "line_road_right")] +[node name="Line2D2_left2" type="Line2D" parent="."] +z_index = 1 +points = PackedVector2Array(954, -516, 955, -620, 703, -616, 696, -497, -73, -493, -347, -772, -493, -778, -494, -985, 35, -989, 122, -896, 241, -899, 820, -953, 866, -981, 879, -1041, 866, -1089, 821, -1119, 702, -1125, 585, -1116, 488, -1042, 400, -988, 288, -972, 160, -1016, 69, -1045, -522, -1048, -561, -988, -548, -902, -515, -838, -518, -453, 882, -440, 954, -509) +closed = true +width = 6.0 +texture = ExtResource("3_mivmq") +texture_mode = 1 +script = ExtResource("4_8hrwh") +smoothingradius = 50 +minsmoothingsradius = 2 + +[node name="road_l" type="StaticBody2D" parent="Line2D2_left2"] +collision_layer = 3 + +[node name="trim" type="Line2D" parent="Line2D2_left2"] +width = 28.0 +texture = ExtResource("5_5a0eo") +texture_mode = 1 + +[node name="Line2D2_right3" type="Line2D" parent="."] +z_index = 1 +points = PackedVector2Array(1080, -475, 1084, -743, 626, -740, 615, -573, 384, -574, 298, -605, 210, -643, -53, -645, -265, -839, -407, -848, -410, -911, -49, -911, 91, -779, 815, -822, 943, -884, 991, -974, 1001, -1075, 979, -1199, 890, -1269, 730, -1301, 541, -1293, 428, -1240, 330, -1140, 249, -1117, 134, -1124, -592, -1127, -643, -1092, -683, -1032, -686, -930, -666, -769, -670, -364, -635, -304, -560, -266, 741, -263, 877, -304, 950, -348) +width = 6.0 +texture = ExtResource("3_mivmq") +texture_mode = 1 +script = ExtResource("4_8hrwh") +smoothingradius = 50 +minsmoothingsradius = 2 + +[node name="road_r" type="StaticBody2D" parent="Line2D2_right3"] +collision_layer = 3 + +[node name="trim" type="Line2D" parent="Line2D2_right3"] +width = 28.0 +texture = ExtResource("5_5a0eo") +texture_mode = 1 + +[node name="Road" type="Polygon2D" parent="." node_paths=PackedStringArray("line_road_left", "line_road_right")] color = Color(0.314316, 0.314316, 0.314316, 1) script = ExtResource("6_vdo8x") line_road_left = NodePath("../Line2D2_left") line_road_right = NodePath("../Line2D2_right") +[node name="Road2" type="Polygon2D" parent="." node_paths=PackedStringArray("line_road_left", "line_road_right")] +color = Color(0.314316, 0.314316, 0.314316, 1) +script = ExtResource("6_vdo8x") +line_road_left = NodePath("../Line2D2_left2") +line_road_right = NodePath("../Line2D2_right3") +right_road_show_closed = true + [node name="area_finish" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] -position = Vector2(275, -70.5) +position = Vector2(315, -355.125) shape = SubResource("RectangleShape2D_daqun") [node name="area_cp0" type="Area2D" parent="."] @@ -86,7 +128,7 @@ collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"] -position = Vector2(998.125, -775) +position = Vector2(777, -679) shape = SubResource("RectangleShape2D_dltky") [node name="area_cp1" type="Area2D" parent="."] @@ -94,7 +136,7 @@ collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"] -position = Vector2(409.5, -694) +position = Vector2(135, -837.5) shape = SubResource("RectangleShape2D_uys5r") [node name="area_cp2" type="Area2D" parent="."] @@ -102,7 +144,7 @@ collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"] -position = Vector2(-371, -772.5) +position = Vector2(-592.375, -725) shape = SubResource("RectangleShape2D_82iti") [node name="Scenery2D" type="Node2D" parent="."]