[gd_scene load_steps=13 format=3 uid="uid://7uw7j7ymucjx"] [ext_resource type="Script" uid="uid://bopx5vxrplpny" path="res://Dialogues/balloon.gd" id="1_qpb08"] [ext_resource type="FontFile" uid="uid://dv8ppra5tgn1t" path="res://Art/Fonts/PixelatedEleganceRegular-ovyAA.ttf" id="2_iaaie"] [ext_resource type="PackedScene" uid="uid://ckvgyvclnwggo" path="res://addons/dialogue_manager/dialogue_label.tscn" id="3_7nttf"] [ext_resource type="Script" uid="uid://bb52rsfwhkxbn" path="res://addons/dialogue_manager/dialogue_responses_menu.gd" id="4_n1yqk"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sfbl0"] content_margin_top = 20.0 content_margin_bottom = 20.0 bg_color = Color(0, 0, 0, 1) border_color = Color(0.329412, 0.329412, 0.329412, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7gkrf"] content_margin_top = 20.0 content_margin_bottom = 20.0 bg_color = Color(0.352941, 0.352941, 0.352941, 1) border_color = Color(1, 1, 1, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eipem"] content_margin_top = 20.0 content_margin_bottom = 20.0 bg_color = Color(0.352941, 0.352941, 0.352941, 1) border_color = Color(0.6, 0.6, 0.6, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_b3r5k"] content_margin_top = 20.0 content_margin_bottom = 20.0 bg_color = Color(0.196078, 0.196078, 0.196078, 1) [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cypdp"] [sub_resource type="Theme" id="Theme_qq3yp"] default_font_size = 20 Button/constants/outline_size = 3 Button/styles/disabled = SubResource("StyleBoxFlat_sfbl0") Button/styles/focus = SubResource("StyleBoxFlat_7gkrf") Button/styles/hover = SubResource("StyleBoxFlat_eipem") Button/styles/normal = SubResource("StyleBoxFlat_b3r5k") MarginContainer/constants/margin_bottom = 15 MarginContainer/constants/margin_left = 30 MarginContainer/constants/margin_right = 30 MarginContainer/constants/margin_top = 15 Panel/styles/panel = SubResource("StyleBoxEmpty_cypdp") [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qpb08"] content_margin_left = 20.0 content_margin_top = 20.0 content_margin_right = 20.0 content_margin_bottom = 20.0 bg_color = Color(0.19607843, 0.19607843, 0.19607843, 1) [sub_resource type="Theme" id="Theme_iaaie"] RichTextLabel/constants/line_separation = 5 RichTextLabel/styles/normal = SubResource("StyleBoxFlat_qpb08") [node name="ExampleBalloon" type="CanvasLayer"] layer = 99 script = ExtResource("1_qpb08") [node name="Balloon" type="Control" parent="."] unique_name_in_owner = true layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 0 size_flags_vertical = 0 mouse_filter = 2 mouse_force_pass_scroll_events = false theme = SubResource("Theme_qq3yp") [node name="Panel" type="Panel" parent="Balloon"] clip_children = 2 layout_mode = 1 offset_left = 1167.0 offset_top = 331.0 offset_right = 1807.0 offset_bottom = 566.0 mouse_force_pass_scroll_events = false [node name="Dialogue" type="MarginContainer" parent="Balloon/Panel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 2.0 offset_top = -23.0 offset_right = 2.0 offset_bottom = 34.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Panel/Dialogue"] layout_mode = 2 theme_override_constants/separation = 20 [node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Panel/Dialogue/VBoxContainer"] unique_name_in_owner = true clip_contents = false custom_minimum_size = Vector2(0, 30) layout_mode = 2 mouse_filter = 1 theme_override_colors/default_color = Color(1, 0.78431374, 0.19607843, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) theme_override_constants/shadow_outline_size = 0 theme_override_constants/outline_size = 0 theme_override_fonts/normal_font = ExtResource("2_iaaie") theme_override_font_sizes/normal_font_size = 24 bbcode_enabled = true text = "Character" fit_content = true scroll_active = false [node name="DialogueLabel" parent="Balloon/Panel/Dialogue/VBoxContainer" instance=ExtResource("3_7nttf")] unique_name_in_owner = true clip_contents = false layout_mode = 2 size_flags_vertical = 3 theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) theme_override_constants/line_separation = 10 theme_override_constants/shadow_outline_size = 6 theme_override_constants/outline_size = 12 theme_override_fonts/normal_font = ExtResource("2_iaaie") theme_override_font_sizes/normal_font_size = 24 text = "Dialogue..." [node name="Responses" type="MarginContainer" parent="Balloon"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = 232.0 offset_top = -384.0 offset_right = 952.0 offset_bottom = -4.0 grow_horizontal = 2 grow_vertical = 0 theme_override_constants/margin_left = 28 theme_override_constants/margin_top = 28 theme_override_constants/margin_right = 36 theme_override_constants/margin_bottom = 28 [node name="ResponsesMenu" type="VBoxContainer" parent="Balloon/Responses" node_paths=PackedStringArray("response_template")] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 2 script = ExtResource("4_n1yqk") response_template = NodePath("ResponseTemplate") [node name="ResponseExample" type="Button" parent="Balloon/Responses/ResponsesMenu"] visible = false layout_mode = 2 theme_override_fonts/font = ExtResource("2_iaaie") theme_override_font_sizes/font_size = 16 text = "What brought you here ?" autowrap_mode = 2 [node name="ResponseTemplate" type="RichTextLabel" parent="Balloon/Responses/ResponsesMenu"] layout_mode = 2 theme = SubResource("Theme_iaaie") theme_override_fonts/normal_font = ExtResource("2_iaaie") theme_override_font_sizes/normal_font_size = 16 bbcode_enabled = true text = "This is a response template. This sentence is used here as an example." fit_content = true vertical_alignment = 1 [connection signal="gui_input" from="Balloon" to="." method="_on_balloon_gui_input"] [connection signal="gui_input" from="Balloon/Panel" to="." method="_on_balloon_gui_input"] [connection signal="response_selected" from="Balloon/Responses/ResponsesMenu" to="." method="_on_responses_menu_response_selected"]