14 lines
630 B
Text
14 lines
630 B
Text
[gd_scene load_steps=3 format=3 uid="uid://coogmsw6rsdun"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Door.cs" id="1_nwv7e"]
|
|
[ext_resource type="PackedScene" uid="uid://x6pqolxtgwvy" path="res://prefabs/Interactable.tscn" id="1_yb42q"]
|
|
|
|
[node name="Door" type="Node2D"]
|
|
script = ExtResource("1_nwv7e")
|
|
|
|
[node name="Interactable" parent="." instance=ExtResource("1_yb42q")]
|
|
SpriteOffset = Vector2(0, -40)
|
|
AreaRadius = 20.0
|
|
|
|
[connection signal="PlayerLeft" from="Interactable" to="." method="_on_interactable_player_left"]
|
|
[connection signal="PlayerNearBy" from="Interactable" to="." method="_on_interactable_player_near_by"]
|