From 78b6db9f792e18d848383856693cff4ef223a10f Mon Sep 17 00:00:00 2001 From: IcECreAm777 Date: Sat, 8 Jul 2023 16:43:32 +0200 Subject: checkpoint detection and UI --- Nodes/car.tscn | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Nodes/car.tscn') diff --git a/Nodes/car.tscn b/Nodes/car.tscn index 25505a0..dbfb4e1 100644 --- a/Nodes/car.tscn +++ b/Nodes/car.tscn @@ -2,16 +2,16 @@ [ext_resource type="Script" path="res://Scripts/car_behaviour.gd" id="1_0e4ux"] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_wvlyu"] - [sub_resource type="CanvasTexture" id="CanvasTexture_aacgf"] -[node name="Car" type="StaticBody2D"] -script = ExtResource("1_0e4ux") +[sub_resource type="RectangleShape2D" id="RectangleShape2D_wvlyu"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="."] -shape = SubResource("RectangleShape2D_wvlyu") +[node name="Car" type="CharacterBody2D"] +script = ExtResource("1_0e4ux") [node name="Sprite2D" type="Sprite2D" parent="."] scale = Vector2(19.92, 19.76) texture = SubResource("CanvasTexture_aacgf") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("RectangleShape2D_wvlyu") -- cgit