summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Objects/BaseDoor.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-05-06 16:30:46 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-05-06 16:30:46 +0200
commit276b7664bd4a475a3ca93a682c16b49c504c58f7 (patch)
tree6b8f8cf0e1a82496c1f539e55e26bc078300b23a /Scenes/Entities/Objects/BaseDoor.tscn
parent8c0e8b5bf73caaf2fd6f04fb97b9c13f2970c431 (diff)
update
Diffstat (limited to 'Scenes/Entities/Objects/BaseDoor.tscn')
-rw-r--r--Scenes/Entities/Objects/BaseDoor.tscn20
1 files changed, 20 insertions, 0 deletions
diff --git a/Scenes/Entities/Objects/BaseDoor.tscn b/Scenes/Entities/Objects/BaseDoor.tscn
new file mode 100644
index 0000000..845c35d
--- /dev/null
+++ b/Scenes/Entities/Objects/BaseDoor.tscn
@@ -0,0 +1,20 @@
+[gd_scene load_steps=4 format=3 uid="uid://bkb3qv5y0sp8d"]
+
+[ext_resource type="Texture2D" uid="uid://br534x61nyy8k" path="res://Assets/Stages/core_indoor_walls.png" id="1_jqsa6"]
+[ext_resource type="Script" path="res://Scenes/Entities/Objects/BaseDoor.gd" id="1_silnh"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_5r3qy"]
+size = Vector2(16, 16)
+
+[node name="BaseDoor" type="StaticBody2D"]
+collision_layer = 8
+collision_mask = 0
+script = ExtResource("1_silnh")
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+shape = SubResource("RectangleShape2D_5r3qy")
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+texture = ExtResource("1_jqsa6")
+region_enabled = true
+region_rect = Rect2(560, 96, 16, 16)