summaryrefslogtreecommitdiff
path: root/Scenes/Components/SceneTransition.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Components/SceneTransition.tscn')
-rw-r--r--Scenes/Components/SceneTransition.tscn19
1 files changed, 19 insertions, 0 deletions
diff --git a/Scenes/Components/SceneTransition.tscn b/Scenes/Components/SceneTransition.tscn
new file mode 100644
index 0000000..81a8842
--- /dev/null
+++ b/Scenes/Components/SceneTransition.tscn
@@ -0,0 +1,19 @@
+[gd_scene load_steps=3 format=3 uid="uid://c5ix2njry0181"]
+
+[ext_resource type="Script" path="res://Scenes/Components/SceneTransition.gd" id="1_3hbkh"]
+
+[sub_resource type="SegmentShape2D" id="SegmentShape2D_wg5kv"]
+a = Vector2(0, -1)
+b = Vector2(0, 1)
+
+[node name="SceneTransition" type="Area2D"]
+collision_layer = 0
+collision_mask = 2
+script = ExtResource("1_3hbkh")
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+shape = SubResource("SegmentShape2D_wg5kv")
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+
+[connection signal="body_entered" from="." to="." method="_on_body_entered"]