Files
Nockin_On_Hells_Door/scene/door.tscn
2024-10-19 15:17:39 +02:00

18 lines
587 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://bmt2uv41t2dte"]
[ext_resource type="Script" path="res://script/Door.cs" id="1_xvwbq"]
[sub_resource type="CircleShape2D" id="CircleShape2D_aityf"]
radius = 32.0
[node name="door" type="Node2D"]
script = ExtResource("1_xvwbq")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_aityf")
[connection signal="body_entered" from="Area2D" to="." method="BodyEntered"]
[connection signal="body_exited" from="Area2D" to="." method="BodyExited"]