[gd_scene load_steps=11 format=3 uid="uid://btcmnw6q6g0h0"] [ext_resource type="AudioStream" uid="uid://csur36h1ob0ua" path="res://assets/sound/pin1.ogg" id="1_ivb85"] [ext_resource type="AudioStream" uid="uid://bi17uqa4u7qwp" path="res://assets/sound/pin2.ogg" id="2_c6pa1"] [ext_resource type="AudioStream" uid="uid://c7g7s8t0m88qn" path="res://assets/sound/pin3.ogg" id="3_c8ajs"] [ext_resource type="AudioStream" uid="uid://bhkjl7abxtdlj" path="res://assets/sound/pickup_pin.ogg" id="4_c8ajs"] [sub_resource type="QuadMesh" id="QuadMesh_87mh6"] [sub_resource type="ImageTexture" id="ImageTexture_usqe2"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_usqe2"] size = Vector2(103, 148) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wl1hl"] content_margin_left = 0.0 content_margin_top = 0.0 content_margin_right = 0.0 content_margin_bottom = 0.0 bg_color = Color(18.892157, 18.892157, 18.892157, 1) corner_radius_top_left = 1 corner_radius_top_right = 1 corner_radius_bottom_right = 1 corner_radius_bottom_left = 1 corner_detail = 1 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ivb85"] content_margin_left = 10.0 content_margin_top = 10.0 content_margin_right = 10.0 content_margin_bottom = 10.0 bg_color = Color(0.46813786, 0.3607661, 0.7006275, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0, 0, 0, 1) border_blend = true [sub_resource type="GDScript" id="GDScript_wl1hl"] script/source = "extends AudioStreamPlayer2D @export var streams : Array[Resource] var next : int = 0 func play_next() -> void: stream = streams[next] next = (next + 1) % streams.size() play() " [node name="PinnedPhoto" type="PinnedPhoto"] input_pickable = true sync_to_physics = false [node name="MeshInstance2D" type="MeshInstance2D" parent="."] position = Vector2(0, 69.52778) scale = Vector2(117.99999, -159.05556) mesh = SubResource("QuadMesh_87mh6") texture = SubResource("ImageTexture_usqe2") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(-0.5, 70.05556) shape = SubResource("RectangleShape2D_usqe2") [node name="PanelContainer" type="PanelContainer" parent="."] z_index = 1 offset_left = -215.0 offset_top = 5.0555573 offset_right = -69.0 offset_bottom = 141.05556 theme_override_styles/panel = SubResource("StyleBoxFlat_wl1hl") [node name="HoverLabel" type="RichTextLabel" parent="PanelContainer"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/default_color = Color(0, 0, 0, 1) theme_override_styles/normal = SubResource("StyleBoxFlat_ivb85") text = "PLACEHOLDER TOOLTIP" fit_content = true [node name="PinnedSound" type="AudioStreamPlayer2D" parent="."] script = SubResource("GDScript_wl1hl") streams = [ExtResource("1_ivb85"), ExtResource("2_c6pa1"), ExtResource("3_c8ajs")] [node name="PickupSound" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("4_c8ajs") [connection signal="grabbed" from="." to="PickupSound" method="play"] [connection signal="released" from="." to="PinnedSound" method="play_next"]