-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathdialogue_tree_ui.tscn
205 lines (178 loc) · 7.23 KB
/
dialogue_tree_ui.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
[gd_scene load_steps=14 format=3 uid="uid://bjt5tsl8twogf"]
[ext_resource type="Script" path="res://dialogue_tree/dialogue_tree_ui.gd" id="1_3u7u7"]
[ext_resource type="PackedScene" uid="uid://x2sjgn85dgll" path="res://dialogue_tree/assets/pink_hair_character/pink_hair_character.tscn" id="1_dk2d5"]
[ext_resource type="PackedScene" uid="uid://7lcamjh3amdn" path="res://dialogue_tree/assets/bubble/speech_bubble.tscn" id="2_l4qmv"]
[ext_resource type="Shader" path="res://dialogue_tree/assets/bubble_background.gdshader" id="4_0i5mg"]
[ext_resource type="Texture2D" uid="uid://c6j8tx83eeukc" path="res://dialogue_tree/assets/slider_circle.png" id="4_aa0ky"]
[ext_resource type="Texture2D" uid="uid://4f8gvseynjd" path="res://dialogue_tree/assets/bubble_pattern.png" id="5_ykfj4"]
[ext_resource type="Script" path="res://dialogue_tree/bg_color.gd" id="6_acm6y"]
[ext_resource type="PackedScene" uid="uid://b0h7vr1fjoatw" path="res://dialogue_tree/round_button/round_button.tscn" id="7_gdnf1"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_c7tyd"]
shader = ExtResource("4_0i5mg")
shader_parameter/bg_color = Color(0.980392, 0.94902, 0.72549, 1)
shader_parameter/pattern_color = Color(0.996078, 0.878431, 0.564706, 1)
shader_parameter/scale = 4.0
shader_parameter/ratio = 0.56
shader_parameter/pattern_sampler = ExtResource("5_ykfj4")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_f6ewq"]
bg_color = Color(0, 0, 0, 0.470588)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
expand_margin_left = 4.0
expand_margin_top = 4.0
expand_margin_right = 4.0
expand_margin_bottom = 4.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_76pa2"]
bg_color = Color(0, 0, 0, 0.784314)
corner_radius_top_left = 8
corner_radius_bottom_left = 8
expand_margin_left = 4.0
expand_margin_top = 4.0
expand_margin_right = 4.0
expand_margin_bottom = 4.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fdi2o"]
content_margin_left = 10.0
content_margin_top = 6.0
content_margin_right = 10.0
content_margin_bottom = 6.0
bg_color = Color(0, 0, 0, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_d1rjy"]
content_margin_left = 10.0
content_margin_top = 6.0
content_margin_right = 10.0
content_margin_bottom = 6.0
bg_color = Color(0, 0, 0, 0.568627)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[node name="Dialogue" type="Node"]
script = ExtResource("1_3u7u7")
round_button_scene = ExtResource("7_gdnf1")
[node name="Background" type="CanvasLayer" parent="."]
layer = -1
[node name="BackgroundColor" type="ColorRect" parent="Background"]
material = SubResource("ShaderMaterial_c7tyd")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(1, 0.890196, 0.996078, 1)
script = ExtResource("6_acm6y")
[node name="TopUI" type="CanvasLayer" parent="."]
[node name="SpeechBubble" parent="TopUI" instance=ExtResource("2_l4qmv")]
unique_name_in_owner = true
offset_left = 1050.0
offset_top = 231.0
offset_right = 1114.0
offset_bottom = 295.0
[node name="VBoxContainer" type="HBoxContainer" parent="TopUI"]
custom_minimum_size = Vector2(150, 0)
offset_left = 40.0
offset_top = 40.0
offset_right = 361.0
offset_bottom = 101.0
theme_override_constants/separation = 16
[node name="VBoxContainer" type="VBoxContainer" parent="TopUI/VBoxContainer"]
layout_mode = 2
[node name="FontSizeLabel" type="Label" parent="TopUI/VBoxContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
size_flags_vertical = 6
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 24
text = "Font size (00)"
[node name="LanguageLabel" type="Label" parent="TopUI/VBoxContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
size_flags_vertical = 6
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 24
text = "Language"
[node name="VBoxContainer2" type="VBoxContainer" parent="TopUI/VBoxContainer"]
layout_mode = 2
[node name="FontSizeSlider" type="HSlider" parent="TopUI/VBoxContainer/VBoxContainer2"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_icons/grabber = ExtResource("4_aa0ky")
theme_override_icons/grabber_highlight = ExtResource("4_aa0ky")
theme_override_styles/slider = SubResource("StyleBoxFlat_f6ewq")
theme_override_styles/grabber_area = SubResource("StyleBoxFlat_76pa2")
theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_76pa2")
min_value = 8.0
max_value = 99.0
value = 40.0
rounded = true
[node name="LanguagesRow" type="HBoxContainer" parent="TopUI/VBoxContainer/VBoxContainer2"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
size_flags_vertical = 3
[node name="EN" type="Button" parent="TopUI/VBoxContainer/VBoxContainer2/LanguagesRow"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxFlat_fdi2o")
theme_override_styles/hover = SubResource("StyleBoxFlat_d1rjy")
theme_override_styles/pressed = SubResource("StyleBoxFlat_d1rjy")
toggle_mode = true
text = "En"
[node name="RO" type="Button" parent="TopUI/VBoxContainer/VBoxContainer2/LanguagesRow"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxFlat_fdi2o")
theme_override_styles/hover = SubResource("StyleBoxFlat_d1rjy")
theme_override_styles/pressed = SubResource("StyleBoxFlat_d1rjy")
toggle_mode = true
text = "Ro"
[node name="JA" type="Button" parent="TopUI/VBoxContainer/VBoxContainer2/LanguagesRow"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxFlat_fdi2o")
theme_override_styles/hover = SubResource("StyleBoxFlat_d1rjy")
theme_override_styles/pressed = SubResource("StyleBoxFlat_d1rjy")
toggle_mode = true
text = "Ja"
[node name="AR" type="Button" parent="TopUI/VBoxContainer/VBoxContainer2/LanguagesRow"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxFlat_fdi2o")
theme_override_styles/hover = SubResource("StyleBoxFlat_d1rjy")
theme_override_styles/pressed = SubResource("StyleBoxFlat_d1rjy")
toggle_mode = true
text = "Ar"
[node name="HBoxContainer" type="HBoxContainer" parent="TopUI/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 22
[node name="HBoxContainer2" type="HBoxContainer" parent="TopUI/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 22
[node name="ActionButtons" type="VBoxContainer" parent="TopUI"]
unique_name_in_owner = true
anchors_preset = -1
anchor_left = 0.693
anchor_top = 0.692
anchor_right = 0.693
anchor_bottom = 0.692
offset_left = -20.5601
offset_top = -20.36
offset_right = 19.4399
offset_bottom = 19.64
grow_horizontal = 2
theme_override_constants/separation = 22
[node name="World" type="Node2D" parent="."]
[node name="PinkHairCharacter" parent="World" instance=ExtResource("1_dk2d5")]
unique_name_in_owner = true
position = Vector2(611, 769)
scale = Vector2(0.95, 0.95)