diff options
author | perivesta <> | 2023-07-08 16:45:32 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-08 16:45:32 +0200 |
commit | 8b08fec313ac3517e782d946cbd203958801e6be (patch) | |
tree | cab276d81c92fd0ff8d75694c4c252812b4b827c /Nodes/car.tscn | |
parent | d98cee8592e15f23ce85e8d54abb29aa341c97da (diff) | |
parent | 78b6db9f792e18d848383856693cff4ef223a10f (diff) | |
download | 2023-8b08fec313ac3517e782d946cbd203958801e6be.tar.gz 2023-8b08fec313ac3517e782d946cbd203958801e6be.tar.bz2 2023-8b08fec313ac3517e782d946cbd203958801e6be.zip |
Merge branch 'game-control'
Diffstat (limited to 'Nodes/car.tscn')
-rw-r--r-- | Nodes/car.tscn | 12 |
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") |