2025-06-15 05:11:41 +00:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://cb4s8y1y600og"]
|
2024-12-23 01:31:10 +00:00
|
|
|
|
2025-03-10 13:03:34 +00:00
|
|
|
[ext_resource type="Script" uid="uid://814s3vawnw0e" path="res://scene/dialog/balloon.gd" id="1_36de5"]
|
2024-12-23 01:31:10 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://ckvgyvclnwggo" path="res://addons/dialogue_manager/dialogue_label.tscn" id="2_a8ve6"]
|
2025-06-14 08:46:32 +00:00
|
|
|
[ext_resource type="Theme" uid="uid://dlrwa60futc45" path="res://config/balloon_theme.tres" id="2_b3fpn"]
|
2025-03-10 13:03:34 +00:00
|
|
|
[ext_resource type="Script" uid="uid://bb52rsfwhkxbn" path="res://addons/dialogue_manager/dialogue_responses_menu.gd" id="3_72ixx"]
|
2024-12-23 01:31:10 +00:00
|
|
|
|
|
|
|
[node name="Balloon" type="CanvasLayer"]
|
2025-03-20 10:00:53 +00:00
|
|
|
layer = 12
|
2024-12-23 01:31:10 +00:00
|
|
|
script = ExtResource("1_36de5")
|
|
|
|
metadata/_edit_vertical_guides_ = [-78.0]
|
|
|
|
metadata/_edit_horizontal_guides_ = [276.0]
|
|
|
|
|
2025-06-14 08:46:32 +00:00
|
|
|
[node name="Balloon" type="MarginContainer" parent="."]
|
2024-12-23 01:31:10 +00:00
|
|
|
unique_name_in_owner = true
|
2025-06-14 08:46:32 +00:00
|
|
|
anchors_preset = 7
|
|
|
|
anchor_left = 0.5
|
2024-12-23 01:31:10 +00:00
|
|
|
anchor_top = 1.0
|
2025-06-14 08:46:32 +00:00
|
|
|
anchor_right = 0.5
|
2024-12-23 01:31:10 +00:00
|
|
|
anchor_bottom = 1.0
|
2025-06-14 08:46:32 +00:00
|
|
|
offset_left = -71.5
|
2025-01-08 00:51:09 +00:00
|
|
|
offset_top = -64.0
|
2025-06-14 08:46:32 +00:00
|
|
|
offset_right = 71.5
|
2024-12-23 01:31:10 +00:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 0
|
2025-01-08 00:51:09 +00:00
|
|
|
mouse_filter = 2
|
2025-06-14 08:46:32 +00:00
|
|
|
theme = ExtResource("2_b3fpn")
|
|
|
|
theme_override_constants/margin_bottom = 38
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Balloon"]
|
|
|
|
layout_mode = 2
|
2024-12-23 01:31:10 +00:00
|
|
|
|
2025-06-14 08:46:32 +00:00
|
|
|
[node name="Panel" type="MarginContainer" parent="Balloon/VBoxContainer"]
|
|
|
|
clip_children = 2
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
|
|
|
mouse_filter = 2
|
|
|
|
theme_override_constants/margin_left = 0
|
|
|
|
theme_override_constants/margin_top = 0
|
|
|
|
theme_override_constants/margin_right = 0
|
|
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
|
|
|
|
[node name="Container" type="HBoxContainer" parent="Balloon/VBoxContainer/Panel"]
|
2024-12-23 01:31:10 +00:00
|
|
|
layout_direction = 1
|
2025-06-14 08:46:32 +00:00
|
|
|
layout_mode = 2
|
2025-01-08 00:51:09 +00:00
|
|
|
mouse_filter = 2
|
2024-12-23 01:31:10 +00:00
|
|
|
alignment = 1
|
|
|
|
|
2025-06-14 08:46:32 +00:00
|
|
|
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/VBoxContainer/Panel/Container"]
|
2024-12-23 01:31:10 +00:00
|
|
|
unique_name_in_owner = true
|
2025-01-08 14:08:37 +00:00
|
|
|
clip_contents = false
|
2024-12-23 01:31:10 +00:00
|
|
|
layout_mode = 2
|
2025-01-08 00:51:09 +00:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 0
|
|
|
|
mouse_filter = 2
|
|
|
|
theme_override_colors/font_shadow_color = Color(0.305882, 0.305882, 0.305882, 0.388235)
|
|
|
|
theme_override_constants/shadow_offset_y = 1
|
|
|
|
theme_override_constants/shadow_offset_x = 1
|
2024-12-23 01:31:10 +00:00
|
|
|
bbcode_enabled = true
|
|
|
|
text = "Charagcter"
|
|
|
|
fit_content = true
|
|
|
|
scroll_active = false
|
|
|
|
autowrap_mode = 0
|
|
|
|
|
2025-06-14 08:46:32 +00:00
|
|
|
[node name="DialogueLabel" parent="Balloon/VBoxContainer/Panel/Container" instance=ExtResource("2_a8ve6")]
|
2024-12-23 01:31:10 +00:00
|
|
|
unique_name_in_owner = true
|
2025-01-08 00:51:09 +00:00
|
|
|
clip_contents = false
|
2024-12-23 01:31:10 +00:00
|
|
|
layout_mode = 2
|
2025-01-08 00:51:09 +00:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 0
|
|
|
|
theme_override_colors/font_shadow_color = Color(0.306923, 0.306923, 0.306923, 0.388235)
|
|
|
|
theme_override_constants/shadow_offset_y = 1
|
|
|
|
theme_override_constants/shadow_offset_x = 1
|
2024-12-23 01:31:10 +00:00
|
|
|
text = "Dialogue..."
|
|
|
|
autowrap_mode = 0
|
2025-03-20 10:00:53 +00:00
|
|
|
seconds_per_step = 0.005
|
|
|
|
seconds_per_pause_step = 0.1
|
2024-12-23 01:31:10 +00:00
|
|
|
|
2025-06-14 08:46:32 +00:00
|
|
|
[node name="Responses" type="MarginContainer" parent="Balloon/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
2025-01-08 00:51:09 +00:00
|
|
|
mouse_filter = 2
|
2025-06-14 08:46:32 +00:00
|
|
|
theme_override_constants/margin_left = 0
|
2025-06-15 05:11:41 +00:00
|
|
|
theme_override_constants/margin_top = -2
|
2025-06-14 08:46:32 +00:00
|
|
|
theme_override_constants/margin_right = 0
|
|
|
|
theme_override_constants/margin_bottom = 6
|
2024-12-23 01:31:10 +00:00
|
|
|
|
2025-06-14 08:46:32 +00:00
|
|
|
[node name="ResponsesMenu" type="HBoxContainer" parent="Balloon/VBoxContainer/Responses" node_paths=PackedStringArray("response_template")]
|
2024-12-23 01:31:10 +00:00
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 8
|
2025-06-15 05:11:41 +00:00
|
|
|
theme_override_constants/separation = 8
|
2025-06-14 08:46:32 +00:00
|
|
|
alignment = 1
|
2024-12-23 01:31:10 +00:00
|
|
|
script = ExtResource("3_72ixx")
|
|
|
|
response_template = NodePath("ResponseExample")
|
|
|
|
|
2025-06-14 08:46:32 +00:00
|
|
|
[node name="ResponseExample" type="Button" parent="Balloon/VBoxContainer/Responses/ResponsesMenu"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
mouse_filter = 1
|
|
|
|
text = "Response example"
|
|
|
|
|
|
|
|
[node name="ResponseExample2" type="Button" parent="Balloon/VBoxContainer/Responses/ResponsesMenu"]
|
2024-12-23 01:31:10 +00:00
|
|
|
layout_mode = 2
|
2025-01-08 00:51:09 +00:00
|
|
|
mouse_filter = 1
|
2024-12-23 01:31:10 +00:00
|
|
|
text = "Response example"
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
2025-01-16 12:24:21 +00:00
|
|
|
bus = &"dialog"
|
2024-12-23 01:31:10 +00:00
|
|
|
|
|
|
|
[connection signal="gui_input" from="Balloon" to="." method="_on_balloon_gui_input"]
|
2025-06-14 08:46:32 +00:00
|
|
|
[connection signal="response_selected" from="Balloon/VBoxContainer/Responses/ResponsesMenu" to="." method="_on_responses_menu_response_selected"]
|