19 lines
643 B
Plaintext
19 lines
643 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://dxojtfoa4jbe"]
|
|
|
|
[ext_resource type="Script" uid="uid://c3qi2ffmxsl8i" path="res://levels/levelOne/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"]
|