summaryrefslogtreecommitdiff
path: root/DungeonSystem/scenes/ZoneEntrance.tscn
diff options
context:
space:
mode:
authoralex <[email protected]>2026-11-09 11:46:51 +0100
committeralex <[email protected]>2026-11-09 11:46:51 +0100
commit26972abbe2dd670d2afac067c548cfaf1da73b2d (patch)
tree8d286077301ed39646c8ebaf9589a33c2f19c7ea /DungeonSystem/scenes/ZoneEntrance.tscn
parent5bc1a8224bb73dcac910e1f05f5e036b4f89ceb8 (diff)
downloadgodot-testing-26972abbe2dd670d2afac067c548cfaf1da73b2d.tar.xz
godot-testing-26972abbe2dd670d2afac067c548cfaf1da73b2d.zip
boos room
Diffstat (limited to 'DungeonSystem/scenes/ZoneEntrance.tscn')
-rw-r--r--DungeonSystem/scenes/ZoneEntrance.tscn20
1 files changed, 20 insertions, 0 deletions
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")