aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/car.tscn
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-08 16:43:32 +0200
committerLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-08 16:43:32 +0200
commit78b6db9f792e18d848383856693cff4ef223a10f (patch)
tree4d0385ae8eb8f450a6b2c40c1886a964134d154d /Nodes/car.tscn
parentbf17c8a97b77cdb783a2751e7ee4a90843a00f06 (diff)
download2023-78b6db9f792e18d848383856693cff4ef223a10f.tar.gz
2023-78b6db9f792e18d848383856693cff4ef223a10f.tar.bz2
2023-78b6db9f792e18d848383856693cff4ef223a10f.zip
checkpoint detection and UI
Diffstat (limited to 'Nodes/car.tscn')
-rw-r--r--Nodes/car.tscn12
1 files changed, 6 insertions, 6 deletions
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")