summaryrefslogtreecommitdiff
path: root/Scenes/Components/SceneTransition.tscn
blob: 81a884216869f167f5d542451537d06ce49c742e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"]