[gd_scene load_steps=10 format=3 uid="uid://cu7olkgkyy2tq"] [ext_resource type="Texture2D" uid="uid://csknopg1cbqbq" path="res://sprites/background/green_gradient.png" id="1_nq5g7"] [ext_resource type="Texture2D" uid="uid://5l1t6nyjn022" path="res://sprites/road/road_border.png" id="3_mivmq"] [ext_resource type="Script" path="res://scripts/roadborder.gd" id="4_8hrwh"] [ext_resource type="Texture2D" uid="uid://gydxil7qf7jc" path="res://sprites/road/road_trim.png" id="5_5a0eo"] [ext_resource type="Script" path="res://scripts/generate_road_polyon.gd" id="6_vdo8x"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] size = Vector2(23, 178.25) [sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] size = Vector2(104.875, 118) [sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] size = Vector2(23, 111) [sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] size = Vector2(144.75, 60.5) [node name="Map" type="Node"] [node name="CanvasLayer" type="CanvasLayer" parent="."] layer = -1 [node name="Sprite2D" type="Sprite2D" parent="CanvasLayer"] z_as_relative = false position = Vector2(659, 312) scale = Vector2(0.496296, 0.496296) texture = ExtResource("1_nq5g7") [node name="Line2D2_right" type="Line2D" parent="."] z_index = 1 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 script = ExtResource("4_8hrwh") smoothingradius = 50 minsmoothingsradius = 2 [node name="road_r" type="StaticBody2D" parent="Line2D2_right"] collision_layer = 3 [node name="trim" type="Line2D" parent="Line2D2_right"] width = 28.0 texture = ExtResource("5_5a0eo") texture_mode = 1 [node name="Line2D2_left" type="Line2D" parent="."] z_index = 1 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 script = ExtResource("4_8hrwh") smoothingradius = 50 minsmoothingsradius = 2 [node name="road_l" type="StaticBody2D" parent="Line2D2_left"] collision_layer = 3 [node name="trim" type="Line2D" parent="Line2D2_left"] width = 28.0 texture = ExtResource("5_5a0eo") texture_mode = 1 [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(315, -355.125) shape = SubResource("RectangleShape2D_daqun") [node name="area_cp0" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"] position = Vector2(777, -679) shape = SubResource("RectangleShape2D_dltky") [node name="area_cp1" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"] position = Vector2(135, -837.5) shape = SubResource("RectangleShape2D_uys5r") [node name="area_cp2" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"] position = Vector2(-592.375, -725) shape = SubResource("RectangleShape2D_82iti") [node name="Scenery2D" type="Node2D" parent="."] z_index = 20 texture_filter = 1 position = Vector2(0, 1)