diff options
Diffstat (limited to 'Nodes/drawing_and_driving.tscn')
-rw-r--r-- | Nodes/drawing_and_driving.tscn | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Nodes/drawing_and_driving.tscn b/Nodes/drawing_and_driving.tscn index 01f0787..5052e04 100644 --- a/Nodes/drawing_and_driving.tscn +++ b/Nodes/drawing_and_driving.tscn @@ -4,9 +4,15 @@ [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") |