From 46556d864b9685c3b09a0038f5de83966fe7ff94 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 10 Aug 2023 11:48:05 +0200 Subject: Initial commit --- Scenes/Components/SceneTransition.tscn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Scenes/Components/SceneTransition.tscn (limited to 'Scenes/Components/SceneTransition.tscn') 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"] -- cgit v1.2.3