36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
[gd_scene format=3 uid="uid://big8haq2m0jxw"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cfpi3jyp8rd0s" path="res://art/sign_arrow_right.png" id="1_i6k7h"]
|
|
[ext_resource type="Texture2D" uid="uid://dgdkh6ug00c1i" path="res://art/controls/a_button.png" id="3_ofmtg"]
|
|
[ext_resource type="Texture2D" uid="uid://bq82wmjgkgyr6" path="res://art/controls/e_key.png" id="4_hvlqt"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
|
size = Vector2(26, 63)
|
|
|
|
[node name="SignArrow" type="Node2D" unique_id=1201409437]
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
|
position = Vector2(0, -48)
|
|
texture = ExtResource("1_i6k7h")
|
|
|
|
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
|
position = Vector2(0, 15.5)
|
|
shape = SubResource("RectangleShape2D_eumkw")
|
|
|
|
[node name="ButtonPrompt" type="Sprite2D" parent="Sprite2D" unique_id=385403317]
|
|
visible = false
|
|
position = Vector2(0.99999994, -7.000002)
|
|
scale = Vector2(0.8, 0.8)
|
|
texture = ExtResource("3_ofmtg")
|
|
|
|
[node name="KeyPrompt" type="Sprite2D" parent="Sprite2D" unique_id=1108548281]
|
|
visible = false
|
|
position = Vector2(0.99999994, -6.000002)
|
|
scale = Vector2(0.8, 0.8)
|
|
texture = ExtResource("4_hvlqt")
|
|
|
|
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_approach"]
|
|
[connection signal="body_exited" from="Sprite2D/Area2D" to="." method="_on_abandon"]
|