[gd_scene load_steps=9 format=3 uid="uid://cn418hkj8mraj"] [ext_resource type="Texture2D" uid="uid://b7jjn7nnvwy1q" path="res://scenes/house/assets/img/bg_shohouse.jpg" id="1_sjqws"] [ext_resource type="PackedScene" uid="uid://0eryipo3upvb" path="res://scenes/global/assets/nodes/shounic.tscn" id="2_oi53i"] [ext_resource type="Script" path="res://scenes/global/assets/scripts/fadetoblack.gd" id="4_m4lsv"] [ext_resource type="Theme" uid="uid://yd1uwltn3go" path="res://scenes/global/assets/themes/dialogButton.tres" id="5_08u6q"] [ext_resource type="Script" path="res://scenes/house/assets/scripts/dialog.gd" id="6_olgy2"] [ext_resource type="AudioStream" uid="uid://dtd5bdeqy4m0r" path="res://scenes/global/assets/wav/snd_shounic_byte.wav" id="7_bxtx8"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jkt8c"] bg_color = Color(0.184314, 0.184314, 0.184314, 0.898039) border_width_left = 5 border_width_right = 5 border_color = Color(0.184314, 0.184314, 0.184314, 0.898039) [sub_resource type="Theme" id="Theme_1ajjm"] Label/styles/normal = SubResource("StyleBoxFlat_jkt8c") [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="Background" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("1_sjqws") expand_mode = 3 stretch_mode = 6 [node name="Shounic" parent="." instance=ExtResource("2_oi53i")] layout_mode = 0 anchors_preset = 0 anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 offset_left = 0.0 offset_top = 0.0 offset_right = 500.0 offset_bottom = 500.0 grow_horizontal = 1 grow_vertical = 1 [node name="FadeToBlack" type="ColorRect" parent="."] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(0, 0, 0, 1) script = ExtResource("4_m4lsv") [node name="Continue" type="Button" parent="."] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -60.0 grow_horizontal = 2 grow_vertical = 0 theme = ExtResource("5_08u6q") text = "Continue " [node name="YesNo" type="HFlowContainer" parent="."] visible = false layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -60.0 grow_horizontal = 2 grow_vertical = 0 [node name="No" type="Button" parent="YesNo"] layout_mode = 2 size_flags_horizontal = 3 theme = ExtResource("5_08u6q") text = "No" [node name="Yes" type="Button" parent="YesNo"] layout_mode = 2 size_flags_horizontal = 3 theme = ExtResource("5_08u6q") text = "Yes" [node name="DContainer" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -260.0 offset_bottom = -60.0 grow_horizontal = 2 grow_vertical = 0 color = Color(0.184314, 0.184314, 0.184314, 0.560784) [node name="Dialog" type="RichTextLabel" parent="DContainer"] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 25.0 offset_top = -175.0 offset_right = -52.0 offset_bottom = -25.0 grow_horizontal = 2 grow_vertical = 0 theme_override_colors/default_color = Color(1, 1, 1, 1) theme_override_font_sizes/normal_font_size = 30 script = ExtResource("6_olgy2") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="DContainer/Dialog"] stream = ExtResource("7_bxtx8") [node name="Label" type="Label" parent="DContainer"] visible = false layout_mode = 0 offset_top = -40.0 offset_right = 176.0 theme = SubResource("Theme_1ajjm") theme_override_font_sizes/font_size = 29 text = "Placeholder" [connection signal="pressed" from="Continue" to="DContainer/Dialog" method="_on_continue_pressed"] [connection signal="pressed" from="YesNo/No" to="DContainer/Dialog" method="_on_no_pressed"] [connection signal="pressed" from="YesNo/Yes" to="DContainer/Dialog" method="_on_yes_pressed"] [connection signal="fadeToBlack" from="DContainer/Dialog" to="FadeToBlack" method="_on_dialog_fade_to_black"] [connection signal="unfade" from="DContainer/Dialog" to="FadeToBlack" method="_on_dialog_unfade"]