aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/car.tscn
diff options
context:
space:
mode:
Diffstat (limited to '')
-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")