[gd_scene load_steps=16 format=3 uid="uid://dqt38n43p58vx"] [ext_resource type="Script" uid="uid://beikt7qpne2rk" path="res://scripts/map_point.gd" id="1_ymuo7"] [ext_resource type="Shader" uid="uid://m6q35taes6nx" path="res://shaders/map_point.gdshader" id="2_lqa1n"] [ext_resource type="Texture2D" uid="uid://crhj72fvh8i5l" path="res://external/map-point.png" id="3_ratfp"] [ext_resource type="Texture2D" uid="uid://dj64ue73nrtbh" path="res://external/map-gem.png" id="4_6flw6"] [ext_resource type="Texture2D" uid="uid://udg6wm101m5g" path="res://external/map-unknown.png" id="5_i6re4"] [ext_resource type="Texture2D" uid="uid://cdr07atycreik" path="res://external/map-lock.png" id="6_vq4p4"] [ext_resource type="Texture2D" uid="uid://rifoabo58l1u" path="res://external/map-banner.png" id="7_175dc"] [ext_resource type="AudioStream" uid="uid://c7tuiqdbq2nxk" path="res://sounds/Antique Lock Normal Unlock - modified.wav" id="8_lqa1n"] [sub_resource type="Gradient" id="Gradient_be0no"] offsets = PackedFloat32Array(0, 0.5344828, 1) colors = PackedColorArray(1, 1, 1, 1, 1, 0.8666667, 0, 1, 0.81, 0.567, 0, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_blm8a"] gradient = SubResource("Gradient_be0no") [sub_resource type="ShaderMaterial" id="ShaderMaterial_ymuo7"] resource_local_to_scene = true shader = ExtResource("2_lqa1n") shader_parameter/add_color = Color(1, 1, 1, 0) shader_parameter/fringe_color = SubResource("GradientTexture1D_blm8a") shader_parameter/fringe_threshold = 0.10000000000582077 shader_parameter/threshold = 0.3606666537395989 [sub_resource type="Animation" id="Animation_jh32y"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:threshold") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.3606666537395989] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:circle_size") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [null] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("CanvasGroup/Pin/Lock:visible") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("CanvasGroup/Pin/QuestionMark:visible") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/4/type = "value" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("CanvasGroup/Pin/Crystal:modulate") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(0.33523023, 0.9750608, 1.4985583, 1)] } [sub_resource type="Animation" id="Animation_mlgqr"] resource_name = "primed" loop_mode = 1 step = 0.016666668 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("CanvasGroup/Pin/Lock:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("CanvasGroup/Pin/QuestionMark:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("CanvasGroup/Pin/Crystal:modulate") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.35000002, 0.46666667, 0.5833333, 0.7166667, 0.86666673, 0.98333335), "transitions": PackedFloat32Array(1, 1, 0.9659363, 1, 0.9659363, 1, 1), "update": 0, "values": [Color(0.23008896, 0.9978855, 0.49881792, 1), Color(0.23008896, 0.9978855, 0.49881792, 1), Color(0.8325499, 1.3745651, 0, 1), Color(0.23008896, 0.9978855, 0.49881792, 1), Color(0.8325499, 1.3745651, 0, 1), Color(0.23008896, 0.9978855, 0.49881792, 1), Color(0.23008896, 0.9978855, 0.49881792, 1)] } [sub_resource type="Animation" id="Animation_nakos"] resource_name = "unlock" length = 0.4 step = 0.016666668 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:add_color") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.08333334, 0.26666668, 0.33333334), "transitions": PackedFloat32Array(1, 1, 1, 1), "update": 0, "values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("CanvasGroup/Banner:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.06666669, 0.1), "transitions": PackedFloat32Array(1, 1, 1), "update": 1, "values": [false, false, true] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath(".:threshold") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.08333334, 0.1, 0.33333334), "transitions": PackedFloat32Array(1, 1, 1, 1), "update": 0, "values": [1.0, 0.3150000000023283, 0.27500000000873115, 1.0] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath(".:circle_size") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.083333336, 0.26666668), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [null, null, 200.0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_jh32y"] _data = { &"RESET": SubResource("Animation_jh32y"), &"primed": SubResource("Animation_mlgqr"), &"unlock": SubResource("Animation_nakos") } [node name="Map Pin" type="TextureButton"] offset_left = -35.0 offset_top = -35.0 offset_right = 35.0 offset_bottom = 35.0 pivot_offset = Vector2(35, 35) script = ExtResource("1_ymuo7") label = null locked_brief = null unlocked_brief = null [node name="BriefPanel" type="PanelContainer" parent="."] unique_name_in_owner = true visible = false custom_minimum_size = Vector2(300, 100) layout_mode = 0 offset_left = 34.0 offset_top = -70.0 offset_right = 334.0 offset_bottom = 30.0 mouse_filter = 2 [node name="Brief" type="Label" parent="BriefPanel"] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 1 theme_override_constants/line_spacing = -3 text = "A point that you don't know. A mystery, a conundrum. Truly a question for the ages." autowrap_mode = 2 autowrap_trim_flags = 0 justification_flags = 0 [node name="CanvasGroup" type="CanvasGroup" parent="."] unique_name_in_owner = true material = SubResource("ShaderMaterial_ymuo7") [node name="Pin" type="Control" parent="CanvasGroup"] unique_name_in_owner = true layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Pin" type="TextureRect" parent="CanvasGroup/Pin"] layout_mode = 1 anchors_preset = -1 offset_left = -93.0 offset_top = -93.0 offset_right = 163.0 offset_bottom = 163.0 mouse_filter = 2 texture = ExtResource("3_ratfp") [node name="Crystal" type="TextureRect" parent="CanvasGroup/Pin"] modulate = Color(0.33523023, 0.9750608, 1.4985583, 1) layout_mode = 1 anchors_preset = -1 offset_right = 70.0 offset_bottom = 70.0 mouse_filter = 2 texture = ExtResource("4_6flw6") [node name="QuestionMark" type="TextureRect" parent="CanvasGroup/Pin"] layout_mode = 1 anchors_preset = -1 offset_right = 70.0 offset_bottom = 70.0 mouse_filter = 2 texture = ExtResource("5_i6re4") [node name="Lock" type="TextureRect" parent="CanvasGroup/Pin"] visible = false layout_mode = 1 anchors_preset = -1 offset_top = 1.0 offset_right = 70.0 offset_bottom = 71.0 mouse_filter = 2 texture = ExtResource("6_vq4p4") [node name="Banner" type="TextureRect" parent="CanvasGroup"] visible = false offset_left = -59.0 offset_top = -59.0 offset_right = 129.0 offset_bottom = 129.0 texture = ExtResource("7_175dc") [node name="Label" type="Label" parent="CanvasGroup/Banner"] unique_name_in_owner = true custom_minimum_size = Vector2(125, 0) layout_mode = 0 offset_left = 34.0 offset_top = 82.0 offset_right = 155.0 offset_bottom = 105.0 theme_override_colors/font_outline_color = Color(0.7579624, 0.51394516, 1.92523e-07, 1) theme_override_constants/outline_size = 7 text = "Nestor's Woods" horizontal_alignment = 1 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_jh32y") } [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("8_lqa1n") [connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"] [connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"] [connection signal="pressed" from="." to="." method="_buttonn_pressed"]