diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-10 11:48:05 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-10 11:48:05 +0200 |
commit | 46556d864b9685c3b09a0038f5de83966fe7ff94 (patch) | |
tree | c68082eacd35559e14565d1598dd694972fb8e0e /Scenes/Components/SceneTransition.tscn |
Initial commit
Diffstat (limited to 'Scenes/Components/SceneTransition.tscn')
-rw-r--r-- | Scenes/Components/SceneTransition.tscn | 19 |
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"] |