[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, 327) [sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] size = Vector2(35.75, 116) [sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] size = Vector2(165, 34) [sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] size = Vector2(53, 71) [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(-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 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(-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 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="Polygon2D" 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="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) 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(998.125, -775) 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(409.5, -694) 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(-371, -772.5) shape = SubResource("RectangleShape2D_82iti") [node name="Scenery2D" type="Node2D" parent="."] z_index = 20 texture_filter = 1 position = Vector2(0, 1)