133 lines
3.5 KiB
Text
133 lines
3.5 KiB
Text
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://addons/dialogic/Nodes/TextBubble.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://addons/dialogic/Example Assets/Fonts/GlossaryFont.tres" type="DynamicFont" id=4]
|
|
[ext_resource path="res://addons/dialogic/Nodes/glossary_info.gd" type="Script" id=5]
|
|
[ext_resource path="res://addons/dialogic/Nodes/dialog_node.gd" type="Script" id=6]
|
|
[ext_resource path="res://addons/dialogic/Nodes/BackgroundMusic.tscn" type="PackedScene" id=7]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
bg_color = Color( 0.196078, 0.196078, 0.196078, 0 )
|
|
|
|
[sub_resource type="StyleBoxFlat" id=2]
|
|
bg_color = Color( 1, 1, 1, 0 )
|
|
expand_margin_left = 10.0
|
|
|
|
[node name="DialogNode" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Portraits" type="Control" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="TextBubble" parent="." instance=ExtResource( 1 )]
|
|
margin_left = -321.5
|
|
margin_top = -264.0
|
|
margin_right = 321.5
|
|
margin_bottom = -60.0
|
|
|
|
[node name="Options" type="VBoxContainer" parent="."]
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
alignment = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="FX" type="Control" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
__meta__ = {
|
|
"_edit_group_": true,
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="BackgroundMusic" parent="FX" instance=ExtResource( 7 )]
|
|
|
|
[node name="DefinitionInfo" type="PanelContainer" parent="."]
|
|
visible = false
|
|
margin_right = 208.0
|
|
mouse_filter = 1
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
custom_styles/panel = SubResource( 1 )
|
|
script = ExtResource( 5 )
|
|
__meta__ = {
|
|
"_edit_group_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="DefinitionInfo"]
|
|
mouse_filter = 1
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
color = Color( 0.12549, 0.12549, 0.12549, 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="DefinitionInfo"]
|
|
margin_right = 208.0
|
|
margin_bottom = 143.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Title" type="RichTextLabel" parent="DefinitionInfo/VBoxContainer"]
|
|
margin_right = 208.0
|
|
margin_bottom = 27.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 4
|
|
custom_styles/normal = SubResource( 2 )
|
|
custom_fonts/normal_font = ExtResource( 4 )
|
|
bbcode_text = "This is the title"
|
|
text = "This is the title"
|
|
fit_content_height = true
|
|
scroll_active = false
|
|
|
|
[node name="Content" type="RichTextLabel" parent="DefinitionInfo/VBoxContainer"]
|
|
margin_top = 31.0
|
|
margin_right = 208.0
|
|
margin_bottom = 112.0
|
|
size_flags_horizontal = 3
|
|
custom_styles/normal = SubResource( 2 )
|
|
custom_fonts/normal_font = ExtResource( 4 )
|
|
text = "This is the main copy. Here you write the relevant"
|
|
fit_content_height = true
|
|
scroll_active = false
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Extra" type="RichTextLabel" parent="DefinitionInfo/VBoxContainer"]
|
|
self_modulate = Color( 1, 1, 1, 0.345098 )
|
|
margin_top = 116.0
|
|
margin_right = 208.0
|
|
margin_bottom = 143.0
|
|
size_flags_horizontal = 3
|
|
custom_styles/normal = SubResource( 2 )
|
|
custom_fonts/normal_font = ExtResource( 4 )
|
|
text = "Una linea extra"
|
|
fit_content_height = true
|
|
scroll_active = false
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Timer" type="Timer" parent="DefinitionInfo"]
|
|
|
|
[connection signal="timeout" from="DefinitionInfo/Timer" to="." method="_on_Definition_Timer_timeout"]
|