aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/car.tscn
diff options
context:
space:
mode:
authorLibravatar perivesta <>2023-07-08 16:45:32 +0200
committerLibravatar perivesta <>2023-07-08 16:45:32 +0200
commit8b08fec313ac3517e782d946cbd203958801e6be (patch)
treecab276d81c92fd0ff8d75694c4c252812b4b827c /Nodes/car.tscn
parentd98cee8592e15f23ce85e8d54abb29aa341c97da (diff)
parent78b6db9f792e18d848383856693cff4ef223a10f (diff)
download2023-8b08fec313ac3517e782d946cbd203958801e6be.tar.gz
2023-8b08fec313ac3517e782d946cbd203958801e6be.tar.bz2
2023-8b08fec313ac3517e782d946cbd203958801e6be.zip
Merge branch 'game-control'
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")