[gd_scene load_steps=10 format=3 uid="uid://cb06k14t2slax"] [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_6bj13"] [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="1_ktvsb"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="3_el555"] [ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="4_ar5ae"] [ext_resource type="PackedScene" uid="uid://bi1dw58p4tky3" path="res://Nodes/checkpoint.tscn" id="5_lbroe"] [ext_resource type="PackedScene" uid="uid://bunwe03ob38mr" path="res://Nodes/ui.tscn" id="6_y2lbh"] [sub_resource type="Curve2D" id="Curve2D_wmfhm"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_uuifd"] [sub_resource type="CanvasTexture" id="CanvasTexture_agpfu"] [node name="drawing_and_driving" type="Node2D"] script = ExtResource("1_6bj13") [node name="Car" parent="." instance=ExtResource("1_ktvsb")] max_speed = 500 acceleration = 0.05 [node name="DrawNode" type="Node2D" parent="."] script = ExtResource("3_el555") [node name="TrackLine" type="Line2D" parent="DrawNode"] [node name="TrackPath" type="Path2D" parent="DrawNode"] curve = SubResource("Curve2D_wmfhm") [node name="TrackFollower" type="PathFollow2D" parent="DrawNode/TrackPath"] [node name="Sprite2D" type="Sprite2D" parent="DrawNode/TrackPath/TrackFollower"] scale = Vector2(0.604, 0.604) texture = ExtResource("4_ar5ae") [node name="Checkpoints" type="Node" parent="."] [node name="Checkpoint" parent="Checkpoints" instance=ExtResource("5_lbroe")] [node name="Checkpoint2" parent="Checkpoints" instance=ExtResource("5_lbroe")] position = Vector2(349, 407) [node name="UI" parent="." instance=ExtResource("6_y2lbh")] [node name="FinishLine" type="Area2D" parent="."] position = Vector2(420, 222) [node name="CollisionShape2D" type="CollisionShape2D" parent="FinishLine"] shape = SubResource("RectangleShape2D_uuifd") [node name="Sprite2D" type="Sprite2D" parent="FinishLine"] scale = Vector2(19.96, 19.76) texture = SubResource("CanvasTexture_agpfu")