1 [gd_scene load_steps=11 format=3 uid="uid://dlx7jcvm52tyw"]
3 [ext_resource type="Script" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_Textbubble/text_bubble.gd" id="1_jdhpk"]
4 [ext_resource type="Shader" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_Textbubble/text_bubble.gdshader" id="2_1mhvf"]
5 [ext_resource type="Script" path="res://addons/dialogic/Modules/Text/node_dialog_text.gd" id="3_syv35"]
6 [ext_resource type="Script" path="res://addons/dialogic/Modules/Text/node_type_sound.gd" id="4_7bm4b"]
7 [ext_resource type="Script" path="res://addons/dialogic/Modules/Text/node_name_label.gd" id="6_5gd03"]
9 [sub_resource type="Curve" id="Curve_0j8nu"]
10 _data = [Vector2(0, 1), 0.0, -1.0, 0, 1, Vector2(1, 0), -1.0, 0.0, 1, 0]
13 [sub_resource type="FastNoiseLite" id="FastNoiseLite_lsfnp"]
16 cellular_jitter = 0.15
18 [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_kr7hw"]
20 noise = SubResource("FastNoiseLite_lsfnp")
22 [sub_resource type="ShaderMaterial" id="ShaderMaterial_60xbe"]
23 resource_local_to_scene = true
24 shader = ExtResource("2_1mhvf")
25 shader_parameter/radius = 200.0
26 shader_parameter/box_size = Vector2(100, 100)
27 shader_parameter/box_padding = 10.0
28 shader_parameter/wobble_amount = 0.75
29 shader_parameter/wobble_speed = 10.0
30 shader_parameter/wobble_detail = 0.51
31 shader_parameter/deformation_sampler = SubResource("NoiseTexture2D_kr7hw")
33 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h6ls0"]
34 content_margin_left = 5.0
35 content_margin_right = 5.0
36 bg_color = Color(1, 1, 1, 1)
37 corner_radius_top_left = 10
38 corner_radius_top_right = 10
39 corner_radius_bottom_right = 10
40 corner_radius_bottom_left = 10
41 shadow_color = Color(0.152941, 0.152941, 0.152941, 0.12549)
44 [node name="TextBubble" type="Control"]
47 script = ExtResource("1_jdhpk")
49 [node name="Group" type="CanvasGroup" parent="."]
51 [node name="Tail" type="Line2D" parent="Group"]
52 unique_name_in_owner = true
53 points = PackedVector2Array(-9, 7, -29, 118, -95, 174, -193, 195)
55 width_curve = SubResource("Curve_0j8nu")
57 [node name="Background" type="ColorRect" parent="Group"]
58 unique_name_in_owner = true
59 material = SubResource("ShaderMaterial_60xbe")
66 [node name="DialogText" type="RichTextLabel" parent="." node_paths=PackedStringArray("textbox_root")]
67 unique_name_in_owner = true
81 theme_override_colors/default_color = Color(0, 0, 0, 1)
83 visible_characters_behavior = 1
84 script = ExtResource("3_syv35")
85 textbox_root = NodePath("..")
87 [node name="DialogicNode_TypeSounds" type="AudioStreamPlayer" parent="DialogText"]
88 script = ExtResource("4_7bm4b")
90 [node name="NameLabelPositioner" type="HBoxContainer" parent="DialogText"]
98 [node name="NameLabelPanel" type="PanelContainer" parent="DialogText/NameLabelPositioner"]
99 unique_name_in_owner = true
101 theme_override_styles/panel = SubResource("StyleBoxFlat_h6ls0")
103 [node name="NameLabel" type="Label" parent="DialogText/NameLabelPositioner/NameLabelPanel" node_paths=PackedStringArray("name_label_root")]
104 unique_name_in_owner = true
106 horizontal_alignment = 1
107 script = ExtResource("6_5gd03")
108 name_label_root = NodePath("..")
109 use_character_color = false
111 [connection signal="started_revealing_text" from="DialogText" to="." method="_on_dialog_text_started_revealing_text"]