aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/car.tscn
diff options
context:
space:
mode:
authorLibravatar perivesta <>2023-07-08 10:19:19 +0200
committerLibravatar perivesta <>2023-07-08 10:19:19 +0200
commita10d0e582a9a614b933f3e689592595e6438513e (patch)
tree824c6c8a4abec16e95959b177219f55aa45884ce /Nodes/car.tscn
parent45b2751b4e63c8d7b048b005f19f9042782e5a13 (diff)
parentf7fd3f9dacf87e4d6f95aa0fdbb0bdb309bdbc3a (diff)
download2023-a10d0e582a9a614b933f3e689592595e6438513e.tar.gz
2023-a10d0e582a9a614b933f3e689592595e6438513e.tar.bz2
2023-a10d0e582a9a614b933f3e689592595e6438513e.zip
Merge branch 'base-car-behaviour'
Diffstat (limited to '')
-rw-r--r--Nodes/car.tscn17
1 files changed, 17 insertions, 0 deletions
diff --git a/Nodes/car.tscn b/Nodes/car.tscn
new file mode 100644
index 0000000..25505a0
--- /dev/null
+++ b/Nodes/car.tscn
@@ -0,0 +1,17 @@
+[gd_scene load_steps=4 format=3 uid="uid://c1mvbh2fwqtkb"]
+
+[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")
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+shape = SubResource("RectangleShape2D_wvlyu")
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+scale = Vector2(19.92, 19.76)
+texture = SubResource("CanvasTexture_aacgf")