summaryrefslogtreecommitdiff
path: root/DungeonSystem/scenes/ZoneEntrance.tscn
diff options
context:
space:
mode:
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")