From 26972abbe2dd670d2afac067c548cfaf1da73b2d Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 9 Nov 2026 11:46:51 +0100 Subject: boos room --- DungeonSystem/scenes/ZoneEntrance.tscn | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 DungeonSystem/scenes/ZoneEntrance.tscn (limited to 'DungeonSystem/scenes/ZoneEntrance.tscn') diff --git a/DungeonSystem/scenes/ZoneEntrance.tscn b/DungeonSystem/scenes/ZoneEntrance.tscn new file mode 100644 index 0000000..260e558 --- /dev/null +++ b/DungeonSystem/scenes/ZoneEntrance.tscn @@ -0,0 +1,20 @@ +[gd_scene format=3] + +[ext_resource type="Script" path="res://DungeonSystem/scripts/ZoneEntrance.cs" id="1_script"] +[ext_resource type="Texture2D" path="res://icon.svg" id="2_icon"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_trigger"] +radius = 16.0 + +[node name="ZoneEntrance" type="Node2D"] +script = ExtResource("1_script") + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("2_icon") +scale = Vector2(0.2, 0.2) + +[node name="Area2D" type="Area2D" parent="."] +collision_mask = 2 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] +shape = SubResource("CircleShape2D_trigger") -- cgit v1.2.3