aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/drawing_and_driving.tscn
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Nodes/drawing_and_driving.tscn27
1 files changed, 26 insertions, 1 deletions
diff --git a/Nodes/drawing_and_driving.tscn b/Nodes/drawing_and_driving.tscn
index 865fd4e..70cf332 100644
--- a/Nodes/drawing_and_driving.tscn
+++ b/Nodes/drawing_and_driving.tscn
@@ -1,12 +1,18 @@
-[gd_scene load_steps=6 format=3 uid="uid://cb06k14t2slax"]
+[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")
@@ -27,3 +33,22 @@ curve = SubResource("Curve2D_wmfhm")
[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")