summaryrefslogtreecommitdiffstats
path: root/door.tscn
blob: 8b1c662cb64c31a07bcb7d9afc07916dde976aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[gd_scene load_steps=3 format=3 uid="uid://df0loiahar23o"]

[ext_resource type="Script" uid="uid://cmnco4i405eeh" path="res://door.gd" id="1_ba8gm"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_vjuef"]
size = Vector2(16, 16)

[node name="Door" type="Area2D"]
collision_layer = 4
collision_mask = 2
input_pickable = false
script = ExtResource("1_ba8gm")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_vjuef")

[connection signal="body_entered" from="." to="." method="_on_body_entered"]