123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347 |
- [gd_scene load_steps=14 format=2]
-
- [ext_resource path="res://addons/dialogic/Images/next-indicator.png" type="Texture" id=1]
- [ext_resource path="res://addons/dialogic/Images/background/background-2.png" type="Texture" id=2]
- [ext_resource path="res://addons/dialogic/Fonts/DefaultFont.tres" type="DynamicFont" id=3]
- [ext_resource path="res://addons/dialogic/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( 1, 1, 1, 0 )
- expand_margin_left = 10.0
-
- [sub_resource type="Animation" id=2]
- resource_name = "Pulse"
- loop = true
- tracks/0/type = "value"
- tracks/0/path = NodePath(".:self_modulate")
- tracks/0/interp = 2
- tracks/0/loop_wrap = true
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/keys = {
- "times": PoolRealArray( 0, 0.5 ),
- "transitions": PoolRealArray( 1, 1 ),
- "update": 0,
- "values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
- }
-
- [sub_resource type="Animation" id=3]
- resource_name = "Static"
-
- [sub_resource type="Animation" id=4]
- loop = true
- tracks/0/type = "value"
- tracks/0/path = NodePath(".:margin_bottom")
- tracks/0/interp = 2
- tracks/0/loop_wrap = true
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/keys = {
- "times": PoolRealArray( 0, 0.5 ),
- "transitions": PoolRealArray( 1, 1 ),
- "update": 0,
- "values": [ 12.0, 55.0 ]
- }
-
- [sub_resource type="StyleBoxFlat" id=5]
- content_margin_left = 10.0
- content_margin_right = 10.0
- bg_color = Color( 1, 1, 1, 0 )
- expand_margin_left = 10.0
-
- [sub_resource type="StyleBoxFlat" id=6]
- bg_color = Color( 0.196078, 0.196078, 0.196078, 0 )
-
- [node name="DialogNode" type="Control"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- script = ExtResource( 6 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="Background" type="TextureRect" parent="."]
- visible = false
- anchor_right = 1.0
- anchor_bottom = 1.0
- expand = true
- stretch_mode = 1
- __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" type="Control" parent="."]
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- margin_left = -250.0
- margin_top = -207.0
- margin_right = 250.0
- margin_bottom = -40.0
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="ColorRect" type="ColorRect" parent="TextBubble"]
- visible = false
- anchor_right = 1.0
- anchor_bottom = 1.0
- color = Color( 0, 0, 0, 1 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="TextureRect" type="TextureRect" parent="TextBubble"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- texture = ExtResource( 2 )
- expand = true
- stretch_mode = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="RichTextLabel" type="RichTextLabel" parent="TextBubble"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 20.0
- margin_top = 10.0
- margin_right = -20.0
- margin_bottom = -10.0
- rect_clip_content = false
- custom_styles/normal = SubResource( 1 )
- custom_fonts/normal_font = ExtResource( 3 )
- custom_colors/default_color = Color( 1, 1, 1, 1 )
- custom_colors/font_color_shadow = Color( 1, 1, 1, 0 )
- custom_constants/shadow_offset_x = 2
- custom_constants/shadow_offset_y = 2
- bbcode_enabled = true
- bbcode_text = "Placeholder text for testing and formatting."
- meta_underlined = false
- text = "Placeholder text for testing and formatting."
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="NextIndicator" type="TextureRect" parent="TextBubble"]
- visible = false
- anchor_left = 1.0
- anchor_top = 1.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = -36.4279
- margin_top = -35.9016
- margin_right = 14.5721
- margin_bottom = 29.4015
- rect_scale = Vector2( 0.4, 0.4 )
- texture = ExtResource( 1 )
- stretch_mode = 4
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="AnimationPlayer" type="AnimationPlayer" parent="TextBubble/NextIndicator"]
- autoplay = "Up and down"
- anims/Pulse = SubResource( 2 )
- anims/Static = SubResource( 3 )
- "anims/Up and down" = SubResource( 4 )
-
- [node name="NameLabel" type="Label" parent="TextBubble"]
- margin_top = -48.0
- margin_right = 58.0
- margin_bottom = -8.0
- size_flags_vertical = 1
- custom_styles/normal = SubResource( 5 )
- custom_fonts/font = ExtResource( 3 )
- custom_colors/font_color = Color( 1, 1, 1, 1 )
- custom_colors/font_color_shadow = Color( 0, 0, 0, 0.619608 )
- custom_constants/shadow_offset_x = 2
- custom_constants/shadow_offset_y = 2
- align = 1
- valign = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="ColorRect" type="ColorRect" parent="TextBubble/NameLabel"]
- visible = false
- show_behind_parent = true
- anchor_right = 1.0
- anchor_bottom = 1.0
- size_flags_horizontal = 15
- size_flags_vertical = 15
- color = Color( 0.156863, 0.156863, 0.156863, 1 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="TextureRect" type="TextureRect" parent="TextBubble/NameLabel"]
- show_behind_parent = true
- anchor_right = 1.0
- anchor_bottom = 1.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- texture = ExtResource( 2 )
- expand = true
- stretch_mode = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="Tween" type="Tween" parent="TextBubble"]
-
- [node name="Options" type="VBoxContainer" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -20.0
- margin_top = -19.9999
- margin_right = 20.0
- margin_bottom = 19.9999
- grow_horizontal = 2
- grow_vertical = 2
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="TextInputDialog" type="AcceptDialog" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -192.0
- margin_top = -57.0
- margin_right = 192.0
- margin_bottom = 57.0
- popup_exclusive = true
- dialog_hide_on_ok = false
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="LineEdit" type="LineEdit" parent="TextInputDialog"]
- margin_left = 8.0
- margin_top = 8.0
- margin_right = 376.0
- margin_bottom = 78.0
-
- [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="FadeInNode" type="ColorRect" parent="FX"]
- modulate = Color( 1, 1, 1, 0 )
- anchor_right = 1.0
- anchor_bottom = 1.0
- mouse_filter = 2
- color = Color( 0, 0, 0, 1 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
-
- [node name="Tween" type="Tween" parent="FX/FadeInNode"]
-
- [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="FX"]
-
- [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( 6 )
- 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( 1 )
- 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( 1 )
- 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( 1 )
- 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"]
-
- [node name="WaitSeconds" type="Timer" parent="."]
-
- [connection signal="meta_hover_ended" from="TextBubble/RichTextLabel" to="." method="_on_RichTextLabel_meta_hover_ended"]
- [connection signal="meta_hover_started" from="TextBubble/RichTextLabel" to="." method="_on_RichTextLabel_meta_hover_started"]
- [connection signal="timeout" from="DefinitionInfo/Timer" to="." method="_on_Definition_Timer_timeout"]
- [connection signal="timeout" from="WaitSeconds" to="." method="_on_WaitSeconds_timeout"]
|