Crystalline-awakening/triggers/exitZone.tscn
2025-05-19 16:52:30 +01:00

19 lines
636 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://dxojtfoa4jbe"]
[ext_resource type="Script" uid="uid://c3qi2ffmxsl8i" path="res://triggers/exit_zone.gd" id="1_2uwmc"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jhhth"]
size = Vector2(32, 29)
[node name="exit" type="Node2D"]
[node name="exitZone" type="Area2D" parent="."]
position = Vector2(14, -18)
script = ExtResource("1_2uwmc")
[node name="CollisionShape2D" type="CollisionShape2D" parent="exitZone"]
position = Vector2(-14, 18)
shape = SubResource("RectangleShape2D_jhhth")
[connection signal="body_entered" from="exitZone" to="exitZone" method="_on_body_entered"]