[gd_scene load_steps=5 format=3 uid="uid://cn41xqc3lwaxy"] [ext_resource type="Texture2D" uid="uid://bnqe06njx2agc" path="res://sprites/contract.png" id="1_jwp1o"] [ext_resource type="Theme" uid="uid://d0ir0t347wqv7" path="res://etc/default_theme.tres" id="1_m2twt"] [ext_resource type="PackedScene" uid="uid://dpwqurhly8osd" path="res://scenes/interactible_manager.tscn" id="3_khqae"] [sub_resource type="CircleShape2D" id="CircleShape2D_mxuxo"] radius = 217.993 [node name="Contract" type="Area2D"] [node name="LabelPanel" type="Panel" parent="."] z_index = 10 offset_left = -313.0 offset_top = -342.0 offset_right = 369.0 offset_bottom = -242.0 theme = ExtResource("1_m2twt") [node name="Label" type="Label" parent="LabelPanel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("1_m2twt") text = "20th Burnaby Lane - $300" horizontal_alignment = 1 vertical_alignment = 1 clip_text = true uppercase = true metadata/_edit_lock_ = true [node name="Sprite2D" type="Sprite2D" parent="."] texture = ExtResource("1_jwp1o") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_mxuxo") [node name="InteractibleManager" parent="." node_paths=PackedStringArray("ItemShown") instance=ExtResource("3_khqae")] ItemShown = NodePath("../LabelPanel") [connection signal="body_entered" from="." to="InteractibleManager" method="_on_body_entered"] [connection signal="body_exited" from="." to="InteractibleManager" method="_on_body_exited"]