From 88e3751834af72c413afa25a7c17a5994f570bfb Mon Sep 17 00:00:00 2001 From: IcECreAm777 Date: Sat, 8 Jul 2023 01:52:33 +0200 Subject: end of day commit --- Nodes/car.tscn | 17 +++++++++++++++++ Nodes/simple_wall.tscn | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Nodes/car.tscn create mode 100644 Nodes/simple_wall.tscn (limited to 'Nodes') 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") -- cgit