diff --git a/addons/dialogic/Modules/DefaultLayoutParts/Layer_Glossary/profile-popup.png b/addons/dialogic/Modules/DefaultLayoutParts/Layer_Glossary/profile-popup.png new file mode 100644 index 0000000..6f89ec7 Binary files /dev/null and b/addons/dialogic/Modules/DefaultLayoutParts/Layer_Glossary/profile-popup.png differ diff --git a/addons/dialogic/Modules/DefaultLayoutParts/Layer_Glossary/profile-popup.png.import b/addons/dialogic/Modules/DefaultLayoutParts/Layer_Glossary/profile-popup.png.import new file mode 100644 index 0000000..98a9ff2 --- /dev/null +++ b/addons/dialogic/Modules/DefaultLayoutParts/Layer_Glossary/profile-popup.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bgw38ld52wu05" +path="res://.godot/imported/profile-popup.png-4f1104831ee3a5fc9edd8fb7c7f9b122.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_Glossary/profile-popup.png" +dest_files=["res://.godot/imported/profile-popup.png-4f1104831ee3a5fc9edd8fb7c7f9b122.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/external/Test Portrait/gradients/skin/(c)brown.tres b/external/Test Portrait/gradients/skin/(c)brown.tres new file mode 100644 index 0000000..c5ab4e0 --- /dev/null +++ b/external/Test Portrait/gradients/skin/(c)brown.tres @@ -0,0 +1,8 @@ +[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://cjs6gcaqkblxv"] + +[sub_resource type="Gradient" id="Gradient_qpr8j"] +offsets = PackedFloat32Array(0, 0.33333334, 0.7829978) +colors = PackedColorArray(0.36862746, 0, 1, 1, 0.66, 0.30359998, 0.30359998, 1, 0.6997569, 0.41199392, 0.19485885, 1) + +[resource] +gradient = SubResource("Gradient_qpr8j") diff --git a/external/Test Portrait/gradients/skin/(l)dark.tres b/external/Test Portrait/gradients/skin/(l)dark.tres new file mode 100644 index 0000000..3166024 --- /dev/null +++ b/external/Test Portrait/gradients/skin/(l)dark.tres @@ -0,0 +1,8 @@ +[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://bq1mcdggw8ksg"] + +[sub_resource type="Gradient" id="Gradient_bnujo"] +offsets = PackedFloat32Array(0, 0.21700224, 0.3914989, 0.57270694, 1) +colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1, 0.29954743, 0.29954746, 0.2995473, 1, 0.26657522, 0.2665752, 0.2665752, 1, 1, 1, 1, 1) + +[resource] +gradient = SubResource("Gradient_bnujo") diff --git a/external/map-banner.png b/external/map-banner.png new file mode 100644 index 0000000..09e22c0 Binary files /dev/null and b/external/map-banner.png differ diff --git a/external/map-banner.png.import b/external/map-banner.png.import new file mode 100644 index 0000000..1c3a0df --- /dev/null +++ b/external/map-banner.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rifoabo58l1u" +path="res://.godot/imported/map-banner.png-016f440124dd5ae3534b42b36607ea77.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://external/map-banner.png" +dest_files=["res://.godot/imported/map-banner.png-016f440124dd5ae3534b42b36607ea77.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/external/map-gem.png b/external/map-gem.png new file mode 100644 index 0000000..c68579e Binary files /dev/null and b/external/map-gem.png differ diff --git a/external/map-gem.png.import b/external/map-gem.png.import new file mode 100644 index 0000000..d5e57b8 --- /dev/null +++ b/external/map-gem.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dj64ue73nrtbh" +path="res://.godot/imported/map-gem.png-00a9f5b9bcaa4ff470ebe15f690f936f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://external/map-gem.png" +dest_files=["res://.godot/imported/map-gem.png-00a9f5b9bcaa4ff470ebe15f690f936f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/external/map-lock.png b/external/map-lock.png new file mode 100644 index 0000000..6e337d4 Binary files /dev/null and b/external/map-lock.png differ diff --git a/external/map-lock.png.import b/external/map-lock.png.import new file mode 100644 index 0000000..4467fa7 --- /dev/null +++ b/external/map-lock.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cdr07atycreik" +path="res://.godot/imported/map-lock.png-af2af5d737fbbc3a624750480bf72dea.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://external/map-lock.png" +dest_files=["res://.godot/imported/map-lock.png-af2af5d737fbbc3a624750480bf72dea.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/external/map-point.png b/external/map-point.png new file mode 100644 index 0000000..0e57c32 Binary files /dev/null and b/external/map-point.png differ diff --git a/external/map-point.png.import b/external/map-point.png.import new file mode 100644 index 0000000..220c12b --- /dev/null +++ b/external/map-point.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://crhj72fvh8i5l" +path="res://.godot/imported/map-point.png-c2487ab3ab5821eb91b19fa9cb7a469a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://external/map-point.png" +dest_files=["res://.godot/imported/map-point.png-c2487ab3ab5821eb91b19fa9cb7a469a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/external/map-unknown.png b/external/map-unknown.png new file mode 100644 index 0000000..08b883f Binary files /dev/null and b/external/map-unknown.png differ diff --git a/external/map-unknown.png.import b/external/map-unknown.png.import new file mode 100644 index 0000000..72f3e7c --- /dev/null +++ b/external/map-unknown.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://udg6wm101m5g" +path="res://.godot/imported/map-unknown.png-49d0383fec7380d38597ef70212ff98f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://external/map-unknown.png" +dest_files=["res://.godot/imported/map-unknown.png-49d0383fec7380d38597ef70212ff98f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/external/test-map.png b/external/test-map.png new file mode 100644 index 0000000..67fd737 Binary files /dev/null and b/external/test-map.png differ diff --git a/external/test-map.png.import b/external/test-map.png.import new file mode 100644 index 0000000..3c4925b --- /dev/null +++ b/external/test-map.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://jhaiu4lbwswl" +path="res://.godot/imported/test-map.png-d85a8ebcae62f1d0eb90a60ff0af0fb2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://external/test-map.png" +dest_files=["res://.godot/imported/test-map.png-d85a8ebcae62f1d0eb90a60ff0af0fb2.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/external/unknown-map-point.png b/external/unknown-map-point.png new file mode 100644 index 0000000..b7ea3b6 Binary files /dev/null and b/external/unknown-map-point.png differ diff --git a/external/unknown-map-point.png.import b/external/unknown-map-point.png.import new file mode 100644 index 0000000..844efae --- /dev/null +++ b/external/unknown-map-point.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://g862kklejbfv" +path="res://.godot/imported/unknown-map-point.png-50ba6ad407a4789fc16b05d4f57e9466.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://external/unknown-map-point.png" +dest_files=["res://.godot/imported/unknown-map-point.png-50ba6ad407a4789fc16b05d4f57e9466.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/scenes/map.tscn b/scenes/map.tscn new file mode 100644 index 0000000..09e5816 --- /dev/null +++ b/scenes/map.tscn @@ -0,0 +1,68 @@ +[gd_scene load_steps=7 format=3 uid="uid://dlmodaf4nojin"] + +[ext_resource type="Texture2D" uid="uid://jhaiu4lbwswl" path="res://external/test-map.png" id="1_2klcf"] +[ext_resource type="PackedScene" uid="uid://dqt38n43p58vx" path="res://templates/map_pin.tscn" id="2_paxxb"] +[ext_resource type="Shader" uid="uid://m6q35taes6nx" path="res://shaders/map_point.gdshader" id="3_2lpho"] + +[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_gldc4"] +resource_local_to_scene = true +shader = ExtResource("3_2lpho") +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 + +[node name="Control" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="TextureRect" type="TextureRect" parent="."] +layout_mode = 0 +offset_left = -453.00003 +offset_top = -256.0 +offset_right = 1467.0 +offset_bottom = 824.0 +scale = Vector2(1.5, 1.5) +texture = ExtResource("1_2klcf") + +[node name="Map Pin2" parent="." instance=ExtResource("2_paxxb")] +layout_mode = 0 +anchors_preset = 0 +offset_left = 389.0 +offset_top = 554.0 +offset_right = 459.0 +offset_bottom = 624.0 + +[node name="CanvasGroup" parent="Map Pin2" index="1"] +material = SubResource("ShaderMaterial_gldc4") + +[node name="Pin" parent="Map Pin2/CanvasGroup" index="0"] +mouse_filter = 2 + +[node name="Banner" parent="Map Pin2/CanvasGroup" index="1"] +mouse_filter = 2 + +[node name="Label" parent="Map Pin2/CanvasGroup/Banner" index="0"] +text = "Avara Plains" + +[node name="Map Pin3" parent="." instance=ExtResource("2_paxxb")] +layout_mode = 0 +anchors_preset = 0 +offset_left = 144.0 +offset_top = 382.0 +offset_right = 214.0 +offset_bottom = 452.0 +primed = true + +[editable path="Map Pin2"] diff --git a/scripts/map_point.gd b/scripts/map_point.gd new file mode 100644 index 0000000..371264a --- /dev/null +++ b/scripts/map_point.gd @@ -0,0 +1,55 @@ +@tool +extends TextureButton + + +@onready var panel : PanelContainer = $Panel +@onready var anim_player : AnimationPlayer = $AnimationPlayer +var panel_shown : bool = false +@export var primed : bool = false +var locked : bool = true +var mat : ShaderMaterial +var _circle_size : float = 0 +@export var circle_size: float: + get(): return _circle_size + set(value): + _circle_size = value + queue_redraw() +@export var add_color : Color +@export var threshold : float +@export var thickness : float = 5 +@export var max_circle_size : float = 200 + +func _ready() -> void: + mat = %CanvasGroup.material + if primed: + anim_player.play("primed") + +func _process(delta: float) -> void: + mat.set_shader_parameter("add_color", add_color) + mat.set_shader_parameter("threshold", threshold) + +func unlock() -> void: + locked = false + primed = false + anim_player.play("unlock") + $AudioStreamPlayer2D.play() + +func _on_mouse_entered() -> void: + if !panel_shown: + panel.visible = true + panel_shown = true + pass # Replace with function body. + +func _buttonn_pressed() -> void: + if primed: + unlock() + +func _on_mouse_exited() -> void: + if panel_shown: + panel.visible = false + panel_shown = false + pass # Replace with function body. + +func _draw() -> void: + if _circle_size != 0: + draw_circle(global_position, _circle_size, add_color, false, thickness * (max_circle_size - _circle_size) / max_circle_size) diff --git a/scripts/map_point.gd.uid b/scripts/map_point.gd.uid new file mode 100644 index 0000000..c936ae9 --- /dev/null +++ b/scripts/map_point.gd.uid @@ -0,0 +1 @@ +uid://beikt7qpne2rk diff --git a/shaders/map_point.gdshader b/shaders/map_point.gdshader new file mode 100644 index 0000000..7ffa6c4 --- /dev/null +++ b/shaders/map_point.gdshader @@ -0,0 +1,44 @@ +shader_type canvas_item; +render_mode unshaded; + +uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest; +uniform vec4 add_color : source_color = vec4(1.0); +uniform sampler2D fringe_color; +uniform float fringe_threshold; +uniform float threshold; +varying vec4 global_center; +varying vec4 screen_center; +void vertex() { + vec4 local_center = vec4(0.0, 0.0, 0.0, 1.0); + + // Transform local center to global coordinates + global_center = CANVAS_MATRIX * local_center; + // Called for every vertex the material is visible on. +} + +void fragment() { + // Called for every pixel the material is visible on. + vec4 color = texture(screen_texture, SCREEN_UV); + vec4 acol = add_color; + acol.a = min(acol.a, color.a); + //COLOR = mix(color, add_color, acol.a); + vec2 ucrd = vec2(UV.x - 0.5, UV.y - 0.5) * 2.0; + float d = ucrd.x * ucrd.x + ucrd.y * ucrd.y; + if(d < threshold * threshold){ + float ft = threshold - fringe_threshold; + if(d < ft * ft){ + COLOR = vec4(mix(color.rgb, add_color.rgb, acol.a), color.a); + }else{ + vec4 f_col = texture(fringe_color, vec2((pow(d, .5) - ft)/fringe_threshold)); + COLOR = vec4(mix(color.rgb, f_col.rgb, acol.a), color.a); + } + }else{ + COLOR = vec4(UV, 0, 0); + } + +} + +//void light() { +// // Called for every pixel for every light affecting the CanvasItem. +// // Uncomment to replace the default light processing function with this one. +//} diff --git a/shaders/map_point.gdshader.uid b/shaders/map_point.gdshader.uid new file mode 100644 index 0000000..6ac10c6 --- /dev/null +++ b/shaders/map_point.gdshader.uid @@ -0,0 +1 @@ +uid://m6q35taes6nx diff --git a/sounds/Antique Lock Normal Unlock - modified.wav b/sounds/Antique Lock Normal Unlock - modified.wav new file mode 100644 index 0000000..1484cf9 Binary files /dev/null and b/sounds/Antique Lock Normal Unlock - modified.wav differ diff --git a/sounds/Antique Lock Normal Unlock - modified.wav.import b/sounds/Antique Lock Normal Unlock - modified.wav.import new file mode 100644 index 0000000..c7fe446 --- /dev/null +++ b/sounds/Antique Lock Normal Unlock - modified.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://c7tuiqdbq2nxk" +path="res://.godot/imported/Antique Lock Normal Unlock - modified.wav-001160204d8c13e920583d0b18745fee.sample" + +[deps] + +source_file="res://sounds/Antique Lock Normal Unlock - modified.wav" +dest_files=["res://.godot/imported/Antique Lock Normal Unlock - modified.wav-001160204d8c13e920583d0b18745fee.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/templates/map_pin.tscn b/templates/map_pin.tscn new file mode 100644 index 0000000..f78aa1a --- /dev/null +++ b/templates/map_pin.tscn @@ -0,0 +1,299 @@ +[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 = 1.0 + +[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"] +anchors_preset = -1 +offset_left = 69.0 +offset_top = 410.0 +offset_right = 139.0 +offset_bottom = 480.0 +script = ExtResource("1_ymuo7") +circle_size = 200.0 +add_color = Color(1, 1, 1, 0) +threshold = 0.3606666537395989 + +[node name="Panel" type="PanelContainer" parent="."] +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="Label" type="Label" parent="Panel"] +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 +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 +anchors_preset = -1 +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"] +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"]