31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bosjbcurkm2vf"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c6gswajm0atas" path="res://sprites/sign.png" id="1_6ooja"]
|
|
[ext_resource type="Script" path="res://scripts/sign.gd" id="1_rtygf"]
|
|
[ext_resource type="PackedScene" uid="uid://sk2uc8hcxhcj" path="res://scenes/physical_dialogue.tscn" id="2_yp6hc"]
|
|
[ext_resource type="PackedScene" uid="uid://dpwqurhly8osd" path="res://scenes/interactible_manager.tscn" id="3_q68wy"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_8hxuu"]
|
|
radius = 431.001
|
|
|
|
[node name="Sign" type="Area2D"]
|
|
script = ExtResource("1_rtygf")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.4, 0.4)
|
|
texture = ExtResource("1_6ooja")
|
|
|
|
[node name="Dialogue" parent="." groups=["Telescope Label"] instance=ExtResource("2_yp6hc")]
|
|
offset_top = -185.445
|
|
offset_bottom = -145.445
|
|
|
|
[node name="InteractibleManager" parent="." node_paths=PackedStringArray("ItemShown") instance=ExtResource("3_q68wy")]
|
|
ItemShown = NodePath("../Dialogue")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
shape = SubResource("CircleShape2D_8hxuu")
|
|
|
|
[connection signal="body_entered" from="." to="InteractibleManager" method="_on_body_entered"]
|
|
[connection signal="body_exited" from="." to="InteractibleManager" method="_on_body_exited"]
|