diff options
author | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-08 01:52:33 +0200 |
---|---|---|
committer | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-08 01:52:33 +0200 |
commit | 88e3751834af72c413afa25a7c17a5994f570bfb (patch) | |
tree | bba4a22c9cd22507fd381306f42866301e21f72f /Nodes | |
parent | 2fc6727848748e5fd3957bda69179d1c261b02a0 (diff) | |
download | 2023-88e3751834af72c413afa25a7c17a5994f570bfb.tar.gz 2023-88e3751834af72c413afa25a7c17a5994f570bfb.tar.bz2 2023-88e3751834af72c413afa25a7c17a5994f570bfb.zip |
end of day commit
Diffstat (limited to '')
-rw-r--r-- | Nodes/car.tscn | 17 | ||||
-rw-r--r-- | Nodes/simple_wall.tscn | 16 |
2 files changed, 33 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") diff --git a/Nodes/simple_wall.tscn b/Nodes/simple_wall.tscn new file mode 100644 index 0000000..21d714a --- /dev/null +++ b/Nodes/simple_wall.tscn @@ -0,0 +1,16 @@ +[gd_scene load_steps=3 format=3 uid="uid://cqglbcitm2wlb"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_omkyo"] + +[sub_resource type="CanvasTexture" id="CanvasTexture_3s223"] + +[node name="SimpleWall" type="StaticBody2D"] +position = Vector2(0, 27) +scale = Vector2(15.48, 1) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("RectangleShape2D_omkyo") + +[node name="Sprite2D" type="Sprite2D" parent="."] +scale = Vector2(20, 19.96) +texture = SubResource("CanvasTexture_3s223") |