blob: 32ef3e1d1d20a778c435ee02f81a56763efc7e0e (
plain) (
tree)
|
|
[gd_scene load_steps=6 format=3 uid="uid://bj5wruvb2hg20"]
[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"]
[sub_resource type="Curve2D" id="Curve2D_wmfhm"]
[node name="drawing_and_driving" type="Node2D"]
script = ExtResource("1_6bj13")
[node name="Car" parent="." instance=ExtResource("1_ktvsb")]
[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")
|