[gd_scene load_steps=12 format=3 uid="uid://b8e6unjutl5bb"] [ext_resource type="Texture2D" uid="uid://csknopg1cbqbq" path="res://sprites/background/green_gradient.png" id="1_1q1bt"] [ext_resource type="Texture2D" uid="uid://5l1t6nyjn022" path="res://sprites/road/road_border.png" id="2_3n7v7"] [ext_resource type="Script" path="res://scripts/roadborder.gd" id="3_i3pho"] [ext_resource type="Texture2D" uid="uid://gydxil7qf7jc" path="res://sprites/road/road_trim.png" id="4_1s1xa"] [ext_resource type="Script" path="res://scripts/generate_road_polyon.gd" id="5_mb5tb"] [ext_resource type="Texture2D" uid="uid://bu1vuswjdjub3" path="res://sprites/road/road_startmarker.png" id="6_tm0js"] [ext_resource type="Texture2D" uid="uid://crb12ld3cl3lu" path="res://sprites/road/finishline.png" id="7_ocekn"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] size = Vector2(32, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] size = Vector2(32, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] size = Vector2(32, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] size = Vector2(32, 128) [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_1q1bt") [node name="Line2D2_right" type="Line2D" parent="."] z_index = 1 points = PackedVector2Array(-256, 64, 640, 64) width = 6.0 texture = ExtResource("2_3n7v7") texture_mode = 1 script = ExtResource("3_i3pho") [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("4_1s1xa") texture_mode = 1 [node name="Line2D2_left" type="Line2D" parent="."] z_index = 1 points = PackedVector2Array(-256, -64, 640, -64) width = 6.0 texture = ExtResource("2_3n7v7") texture_mode = 1 script = ExtResource("3_i3pho") [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("4_1s1xa") 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("5_mb5tb") line_road_left = NodePath("../Line2D2_left") line_road_right = NodePath("../Line2D2_right") [node name="area_cp0" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"] position = Vector2(544, 0) shape = SubResource("RectangleShape2D_dltky") debug_color = Color(0.958025, 0, 0.529392, 0.42) [node name="area_cp1" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"] position = Vector2(592, 0) shape = SubResource("RectangleShape2D_uys5r") debug_color = Color(0.371138, 0.615246, 1.54018e-06, 0.42) [node name="area_cp2" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"] position = Vector2(640, 0) shape = SubResource("RectangleShape2D_82iti") debug_color = Color(0, 0.568664, 0.85224, 0.42) [node name="area_finish" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] position = Vector2(144, 0) shape = SubResource("RectangleShape2D_daqun") debug_color = Color(1, 1, 1, 0.42) [node name="Scenery2D" type="Node2D" parent="."] z_index = 20 texture_filter = 1 position = Vector2(0, 1) [node name="startmarker" type="Sprite2D" parent="."] texture = ExtResource("6_tm0js") [node name="Node2D_Roadmarkings" type="Node2D" parent="."] [node name="line2d_start" type="Line2D" parent="Node2D_Roadmarkings"] points = PackedVector2Array(128, -48, 128, 48) width = 16.0 texture = ExtResource("7_ocekn") texture_mode = 1