Browse Source

Add main menu logic

Arnaud Vergnet 7 months ago
parent
commit
e14eb9eb1d
100 changed files with 1302 additions and 682 deletions
  1. 18
    8
      addons/dialogic/Dialog.tscn
  2. 1
    1
      addons/dialogic/Editor/CharacterEditor/PortraitEntry.gd
  3. 5
    7
      addons/dialogic/Editor/CharacterEditor/PortraitEntry.tscn
  4. 3
    3
      addons/dialogic/Editor/EditorView.tscn
  5. 4
    4
      addons/dialogic/Editor/Pieces/AudioBlock.gd
  6. 7
    10
      addons/dialogic/Editor/Pieces/AudioBlock.tscn
  7. 6
    4
      addons/dialogic/Editor/Pieces/BackgroundMusic.gd
  8. 7
    10
      addons/dialogic/Editor/Pieces/BackgroundMusic.tscn
  9. 3
    1
      addons/dialogic/Editor/Pieces/CallNode.tscn
  10. 3
    1
      addons/dialogic/Editor/Pieces/ChangeScene.tscn
  11. 3
    1
      addons/dialogic/Editor/Pieces/ChangeTimeline.tscn
  12. 4
    2
      addons/dialogic/Editor/Pieces/CharacterJoinBlock.tscn
  13. 3
    1
      addons/dialogic/Editor/Pieces/CharacterLeaveBlock.tscn
  14. 4
    2
      addons/dialogic/Editor/Pieces/Choice.tscn
  15. 3
    1
      addons/dialogic/Editor/Pieces/CloseDialog.tscn
  16. 3
    1
      addons/dialogic/Editor/Pieces/Common/CharacterPicker.tscn
  17. 2
    1
      addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn
  18. 3
    1
      addons/dialogic/Editor/Pieces/Common/PortraitPicker.tscn
  19. 3
    2
      addons/dialogic/Editor/Pieces/Common/VisibleToggle.tscn
  20. 3
    1
      addons/dialogic/Editor/Pieces/EmitSignal.tscn
  21. 3
    1
      addons/dialogic/Editor/Pieces/EndBranch.tscn
  22. 3
    1
      addons/dialogic/Editor/Pieces/IfCondition.tscn
  23. 3
    1
      addons/dialogic/Editor/Pieces/Question.tscn
  24. 3
    1
      addons/dialogic/Editor/Pieces/SceneEvent.tscn
  25. 3
    1
      addons/dialogic/Editor/Pieces/SetTheme.tscn
  26. 2
    1
      addons/dialogic/Editor/Pieces/SetValue.tscn
  27. 3
    1
      addons/dialogic/Editor/Pieces/TextBlock.tscn
  28. 3
    1
      addons/dialogic/Editor/Pieces/WaitSeconds.tscn
  29. 207
    139
      addons/dialogic/Editor/ThemeEditor/ThemeEditor.gd
  30. 649
    377
      addons/dialogic/Editor/ThemeEditor/ThemeEditor.tscn
  31. 20
    19
      addons/dialogic/Editor/TimelineEditor/TimelineEditor.tscn
  32. 7
    0
      addons/dialogic/Example Assets/Fonts/DefaultFont.tres
  33. 7
    0
      addons/dialogic/Example Assets/Fonts/GlossaryFont.tres
  34. 0
    0
      addons/dialogic/Example Assets/Fonts/Overlock/OFL.txt
  35. 0
    0
      addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Black.ttf
  36. 0
    0
      addons/dialogic/Example Assets/Fonts/Overlock/Overlock-BlackItalic.ttf
  37. 0
    0
      addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Bold.ttf
  38. 0
    0
      addons/dialogic/Example Assets/Fonts/Overlock/Overlock-BoldItalic.ttf
  39. 0
    0
      addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Italic.ttf
  40. 0
    0
      addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Regular.ttf
  41. 0
    0
      addons/dialogic/Example Assets/Fonts/Overlock/Overlock.tres
  42. 0
    0
      addons/dialogic/Example Assets/backgrounds/background-1.png
  43. 3
    3
      addons/dialogic/Example Assets/backgrounds/background-1.png.import
  44. 0
    0
      addons/dialogic/Example Assets/backgrounds/background-2.png
  45. 3
    3
      addons/dialogic/Example Assets/backgrounds/background-2.png.import
  46. 0
    0
      addons/dialogic/Example Assets/next-indicator/next-indicator.png
  47. 3
    3
      addons/dialogic/Example Assets/next-indicator/next-indicator.png.import
  48. 0
    0
      addons/dialogic/Example Assets/portraits/df-1.png
  49. 3
    3
      addons/dialogic/Example Assets/portraits/df-1.png.import
  50. 0
    0
      addons/dialogic/Example Assets/portraits/df-2.png
  51. 3
    3
      addons/dialogic/Example Assets/portraits/df-2.png.import
  52. 0
    0
      addons/dialogic/Example Assets/portraits/df-3.png
  53. 3
    3
      addons/dialogic/Example Assets/portraits/df-3.png.import
  54. 0
    8
      addons/dialogic/Fonts/DefaultFont.tres
  55. 0
    8
      addons/dialogic/Fonts/GlossaryFont.tres
  56. 0
    1
      addons/dialogic/Images/Add.svg
  57. 0
    0
      addons/dialogic/Images/Context Menus/ActionCopy.svg
  58. 3
    3
      addons/dialogic/Images/Context Menus/ActionCopy.svg.import
  59. 0
    0
      addons/dialogic/Images/Context Menus/Filesystem.svg
  60. 3
    3
      addons/dialogic/Images/Context Menus/Filesystem.svg.import
  61. 0
    0
      addons/dialogic/Images/Context Menus/Remove.svg
  62. 3
    3
      addons/dialogic/Images/Context Menus/Remove.svg.import
  63. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg
  64. 34
    0
      addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg.import
  65. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/background-music.svg
  66. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/background-music.svg.import
  67. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/call-node.svg
  68. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/call-node.svg.import
  69. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/change-scene.svg
  70. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/change-scene.svg.import
  71. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/change-timeline.svg
  72. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/change-timeline.svg.import
  73. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/character-join.svg
  74. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/character-join.svg.import
  75. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/character-leave.svg
  76. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/character-leave.svg.import
  77. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/choice.svg
  78. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/choice.svg.import
  79. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/close-dialog.svg
  80. 34
    0
      addons/dialogic/Images/Event Icons/Main Icons/close-dialog.svg.import
  81. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/condition.svg
  82. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/condition.svg.import
  83. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/emit-signal.svg
  84. 34
    0
      addons/dialogic/Images/Event Icons/Main Icons/emit-signal.svg.import
  85. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/end-branch.svg
  86. 34
    0
      addons/dialogic/Images/Event Icons/Main Icons/end-branch.svg.import
  87. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/question.svg
  88. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/question.svg.import
  89. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/scene event.svg
  90. 34
    0
      addons/dialogic/Images/Event Icons/Main Icons/scene event.svg.import
  91. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/set-theme.svg
  92. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/set-theme.svg.import
  93. 3
    0
      addons/dialogic/Images/Event Icons/Main Icons/set-value.svg
  94. 3
    3
      addons/dialogic/Images/Event Icons/Main Icons/set-value.svg.import
  95. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/text-event.svg
  96. 34
    0
      addons/dialogic/Images/Event Icons/Main Icons/text-event.svg.import
  97. 0
    0
      addons/dialogic/Images/Event Icons/Main Icons/wait-seconds.svg
  98. 34
    0
      addons/dialogic/Images/Event Icons/Main Icons/wait-seconds.svg.import
  99. 0
    0
      addons/dialogic/Images/Event Icons/Portrait.svg
  100. 0
    0
      addons/dialogic/Images/Event Icons/Portrait.svg.import

+ 18
- 8
addons/dialogic/Dialog.tscn View File

@@ -1,9 +1,9 @@
1 1
 [gd_scene load_steps=14 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/next-indicator.png" type="Texture" id=1]
4
-[ext_resource path="res://addons/dialogic/Images/background/background-2.png" type="Texture" id=2]
5
-[ext_resource path="res://addons/dialogic/Fonts/DefaultFont.tres" type="DynamicFont" id=3]
6
-[ext_resource path="res://addons/dialogic/Fonts/GlossaryFont.tres" type="DynamicFont" id=4]
3
+[ext_resource path="res://addons/dialogic/Example Assets/next-indicator/next-indicator.png" type="Texture" id=1]
4
+[ext_resource path="res://addons/dialogic/Example Assets/backgrounds/background-2.png" type="Texture" id=2]
5
+[ext_resource path="res://addons/dialogic/Example Assets/Fonts/DefaultFont.tres" type="DynamicFont" id=3]
6
+[ext_resource path="res://addons/dialogic/Example Assets/Fonts/GlossaryFont.tres" type="DynamicFont" id=4]
7 7
 [ext_resource path="res://addons/dialogic/Nodes/glossary_info.gd" type="Script" id=5]
8 8
 [ext_resource path="res://addons/dialogic/Nodes/dialog_node.gd" type="Script" id=6]
9 9
 [ext_resource path="res://addons/dialogic/Nodes/BackgroundMusic.tscn" type="PackedScene" id=7]
@@ -87,9 +87,9 @@ anchor_left = 0.5
87 87
 anchor_top = 1.0
88 88
 anchor_right = 0.5
89 89
 anchor_bottom = 1.0
90
-margin_left = -250.0
90
+margin_left = -455.0
91 91
 margin_top = -207.0
92
-margin_right = 250.0
92
+margin_right = 455.0
93 93
 margin_bottom = -40.0
94 94
 __meta__ = {
95 95
 "_edit_use_anchors_": false
@@ -145,7 +145,7 @@ anchor_bottom = 1.0
145 145
 margin_left = -36.4279
146 146
 margin_top = -35.9016
147 147
 margin_right = 14.5721
148
-margin_bottom = 29.4015
148
+margin_bottom = 25.4599
149 149
 rect_scale = Vector2( 0.4, 0.4 )
150 150
 texture = ExtResource( 1 )
151 151
 stretch_mode = 4
@@ -203,6 +203,17 @@ __meta__ = {
203 203
 
204 204
 [node name="Tween" type="Tween" parent="TextBubble"]
205 205
 
206
+[node name="CloseDialog" type="Control" parent="TextBubble"]
207
+margin_right = 40.0
208
+margin_bottom = 40.0
209
+__meta__ = {
210
+"_edit_use_anchors_": false
211
+}
212
+
213
+[node name="Tween" type="Tween" parent="TextBubble/CloseDialog"]
214
+
215
+[node name="Timer" type="Timer" parent="TextBubble/CloseDialog"]
216
+
206 217
 [node name="Options" type="VBoxContainer" parent="."]
207 218
 anchor_left = 0.5
208 219
 anchor_top = 0.5
@@ -340,7 +351,6 @@ __meta__ = {
340 351
 [node name="Timer" type="Timer" parent="DefinitionInfo"]
341 352
 
342 353
 [node name="WaitSeconds" type="Timer" parent="."]
343
-
344 354
 [connection signal="meta_hover_ended" from="TextBubble/RichTextLabel" to="." method="_on_RichTextLabel_meta_hover_ended"]
345 355
 [connection signal="meta_hover_started" from="TextBubble/RichTextLabel" to="." method="_on_RichTextLabel_meta_hover_started"]
346 356
 [connection signal="timeout" from="DefinitionInfo/Timer" to="." method="_on_Definition_Timer_timeout"]

+ 1
- 1
addons/dialogic/Editor/CharacterEditor/PortraitEntry.gd View File

@@ -5,7 +5,7 @@ var editor_reference
5 5
 var image_node
6 6
 
7 7
 func _ready():
8
-	pass
8
+	$ButtonDelete.icon = get_icon("Remove", "EditorIcons")
9 9
 
10 10
 
11 11
 func _on_ButtonDelete_pressed():

+ 5
- 7
addons/dialogic/Editor/CharacterEditor/PortraitEntry.tscn View File

@@ -1,6 +1,5 @@
1
-[gd_scene load_steps=3 format=2]
1
+[gd_scene load_steps=2 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/Remove.svg" type="Texture" id=1]
4 3
 [ext_resource path="res://addons/dialogic/Editor/CharacterEditor/PortraitEntry.gd" type="Script" id=2]
5 4
 
6 5
 [node name="PortraitEntry" type="HBoxContainer"]
@@ -21,7 +20,7 @@ __meta__ = {
21 20
 
22 21
 [node name="PathEdit" type="LineEdit" parent="."]
23 22
 margin_left = 164.0
24
-margin_right = 391.0
23
+margin_right = 407.0
25 24
 margin_bottom = 24.0
26 25
 rect_min_size = Vector2( 150, 0 )
27 26
 size_flags_horizontal = 3
@@ -29,16 +28,15 @@ editable = false
29 28
 selecting_enabled = false
30 29
 
31 30
 [node name="ButtonSelect" type="Button" parent="."]
32
-margin_left = 395.0
33
-margin_right = 419.0
31
+margin_left = 411.0
32
+margin_right = 435.0
34 33
 margin_bottom = 24.0
35 34
 text = "..."
36 35
 
37 36
 [node name="ButtonDelete" type="Button" parent="."]
38
-margin_left = 423.0
37
+margin_left = 439.0
39 38
 margin_right = 451.0
40 39
 margin_bottom = 24.0
41
-icon = ExtResource( 1 )
42 40
 flat = true
43 41
 
44 42
 [connection signal="focus_entered" from="NameEdit" to="." method="_on_focus_entered"]

+ 3
- 3
addons/dialogic/Editor/EditorView.tscn View File

@@ -8,11 +8,11 @@
8 8
 [ext_resource path="res://addons/dialogic/Editor/SettingsEditor/SettingsEditor.tscn" type="PackedScene" id=6]
9 9
 [ext_resource path="res://addons/dialogic/Editor/CharacterEditor/CharacterEditor.tscn" type="PackedScene" id=7]
10 10
 [ext_resource path="res://addons/dialogic/Editor/ThemeEditor/ThemeEditor.tscn" type="PackedScene" id=8]
11
-[ext_resource path="res://addons/dialogic/Images/ActionCopy.svg" type="Texture" id=11]
11
+[ext_resource path="res://addons/dialogic/Images/Context Menus/ActionCopy.svg" type="Texture" id=11]
12 12
 [ext_resource path="res://addons/dialogic/Editor/DefinitionEditor/DefinitionEditor.tscn" type="PackedScene" id=12]
13 13
 [ext_resource path="res://addons/dialogic/Images/Toolbar/add-theme.svg" type="Texture" id=13]
14
-[ext_resource path="res://addons/dialogic/Images/Remove.svg" type="Texture" id=22]
15
-[ext_resource path="res://addons/dialogic/Images/Filesystem.svg" type="Texture" id=26]
14
+[ext_resource path="res://addons/dialogic/Images/Context Menus/Remove.svg" type="Texture" id=22]
15
+[ext_resource path="res://addons/dialogic/Images/Context Menus/Filesystem.svg" type="Texture" id=26]
16 16
 [ext_resource path="res://addons/dialogic/Editor/MasterTree/MasterTree.tscn" type="PackedScene" id=35]
17 17
 
18 18
 [sub_resource type="Image" id=1]

+ 4
- 4
addons/dialogic/Editor/Pieces/AudioBlock.gd View File

@@ -4,8 +4,6 @@ extends HBoxContainer
4 4
 var editor_reference
5 5
 var editorPopup
6 6
 
7
-var play_icon = load("res://addons/dialogic/Images/play.svg")
8
-var stop_icon = load("res://addons/dialogic/Images/stop.svg")
9 7
 
10 8
 # This is the information of this event and it will get parsed and saved to the JSON file.
11 9
 var event_data = {
@@ -16,6 +14,8 @@ var event_data = {
16 14
 
17 15
 func _ready():
18 16
 	load_audio('')
17
+	$PanelContainer/VBoxContainer/Header/ButtonClear.icon = get_icon("Remove", "EditorIcons")
18
+	$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = get_icon("Play", "EditorIcons")
19 19
 
20 20
 func _on_ButtonAudio_pressed():
21 21
 	editor_reference.godot_dialog("*.wav, *.ogg, *.mp3")
@@ -52,11 +52,11 @@ func _on_ButtonPreviewPlay_pressed():
52 52
 	else:
53 53
 		$PanelContainer/AudioPreview.stream = load(event_data['file'])
54 54
 		$PanelContainer/AudioPreview.play()
55
-		$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = stop_icon
55
+		$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = get_icon("Stop", "EditorIcons")
56 56
 
57 57
 
58 58
 func _on_AudioPreview_finished():
59
-	$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = play_icon
59
+	$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = get_icon("Play", "EditorIcons")
60 60
 
61 61
 
62 62
 func _on_ButtonClear_pressed():

+ 7
- 10
addons/dialogic/Editor/Pieces/AudioBlock.tscn View File

@@ -1,11 +1,9 @@
1
-[gd_scene load_steps=8 format=2]
1
+[gd_scene load_steps=6 format=2]
2 2
 
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/AudioBlock.gd" type="Script" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
5
-[ext_resource path="res://addons/dialogic/Images/Events/audio-event.svg" type="Texture" id=3]
5
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg" type="Texture" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7
-[ext_resource path="res://addons/dialogic/Images/play.svg" type="Texture" id=5]
8
-[ext_resource path="res://addons/dialogic/Images/Remove.svg" type="Texture" id=7]
9 7
 
10 8
 [sub_resource type="StyleBoxFlat" id=1]
11 9
 content_margin_left = 16.0
@@ -86,17 +84,15 @@ text = "..."
86 84
 
87 85
 [node name="ButtonClear" type="Button" parent="PanelContainer/VBoxContainer/Header"]
88 86
 margin_left = 384.0
89
-margin_right = 412.0
87
+margin_right = 396.0
90 88
 margin_bottom = 28.0
91 89
 disabled = true
92
-icon = ExtResource( 7 )
93 90
 
94 91
 [node name="ButtonPreviewPlay" type="Button" parent="PanelContainer/VBoxContainer/Header"]
95
-margin_left = 416.0
96
-margin_right = 450.0
92
+margin_left = 400.0
93
+margin_right = 412.0
97 94
 margin_bottom = 28.0
98 95
 disabled = true
99
-icon = ExtResource( 5 )
100 96
 
101 97
 [node name="Preview" type="Label" parent="PanelContainer/VBoxContainer/Header"]
102 98
 visible = false
@@ -108,7 +104,7 @@ custom_colors/font_color = Color( 1, 1, 1, 0.513726 )
108 104
 text = "    ..."
109 105
 
110 106
 [node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 2 )]
111
-margin_left = 454.0
107
+margin_left = 416.0
112 108
 margin_right = 1735.0
113 109
 margin_bottom = 28.0
114 110
 
@@ -119,6 +115,7 @@ margin_bottom = 28.0
119 115
 items = [ "Move Up", null, 0, false, false, 0, 0, null, "", false, "Move Down", null, 0, false, false, 1, 0, null, "", false, "", null, 0, false, false, 2, 0, null, "", true, "Remove", null, 0, false, false, 3, 0, null, "", false ]
120 116
 
121 117
 [node name="AudioPreview" type="AudioStreamPlayer" parent="PanelContainer"]
118
+
122 119
 [connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonAudio" to="." method="_on_ButtonAudio_pressed"]
123 120
 [connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonClear" to="." method="_on_ButtonClear_pressed"]
124 121
 [connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonPreviewPlay" to="." method="_on_ButtonPreviewPlay_pressed"]

+ 6
- 4
addons/dialogic/Editor/Pieces/BackgroundMusic.gd View File

@@ -4,8 +4,7 @@ extends HBoxContainer
4 4
 var editor_reference
5 5
 var editorPopup
6 6
 
7
-var play_icon = load("res://addons/dialogic/Images/play.svg")
8
-var stop_icon = load("res://addons/dialogic/Images/stop.svg")
7
+
9 8
 
10 9
 # This is the information of this event and it will get parsed and saved to the JSON file.
11 10
 var event_data = {
@@ -16,6 +15,9 @@ var event_data = {
16 15
 
17 16
 func _ready():
18 17
 	load_audio('')
18
+	$PanelContainer/VBoxContainer/Header/ButtonClear.icon = get_icon("Remove", "EditorIcons")
19
+	$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = get_icon("Play", "EditorIcons")
20
+
19 21
 
20 22
 func _on_ButtonAudio_pressed():
21 23
 	editor_reference.godot_dialog("*.wav, *.ogg, *.mp3")
@@ -52,11 +54,11 @@ func _on_ButtonPreviewPlay_pressed():
52 54
 	else:
53 55
 		$PanelContainer/AudioPreview.stream = load(event_data['file'])
54 56
 		$PanelContainer/AudioPreview.play()
55
-		$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = stop_icon
57
+		$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = get_icon("Stop", "EditorIcons")
56 58
 
57 59
 
58 60
 func _on_AudioPreview_finished():
59
-	$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = play_icon
61
+	$PanelContainer/VBoxContainer/Header/ButtonPreviewPlay.icon = get_icon("Play", "EditorIcons")
60 62
 
61 63
 
62 64
 func _on_ButtonClear_pressed():

+ 7
- 10
addons/dialogic/Editor/Pieces/BackgroundMusic.tscn View File

@@ -1,11 +1,9 @@
1
-[gd_scene load_steps=8 format=2]
1
+[gd_scene load_steps=6 format=2]
2 2
 
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/BackgroundMusic.gd" type="Script" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
5
-[ext_resource path="res://addons/dialogic/Images/Events/background-music.svg" type="Texture" id=3]
5
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/background-music.svg" type="Texture" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7
-[ext_resource path="res://addons/dialogic/Images/play.svg" type="Texture" id=5]
8
-[ext_resource path="res://addons/dialogic/Images/Remove.svg" type="Texture" id=7]
9 7
 
10 8
 [sub_resource type="StyleBoxFlat" id=1]
11 9
 content_margin_left = 16.0
@@ -86,17 +84,15 @@ text = "..."
86 84
 
87 85
 [node name="ButtonClear" type="Button" parent="PanelContainer/VBoxContainer/Header"]
88 86
 margin_left = 400.0
89
-margin_right = 428.0
87
+margin_right = 412.0
90 88
 margin_bottom = 28.0
91 89
 disabled = true
92
-icon = ExtResource( 7 )
93 90
 
94 91
 [node name="ButtonPreviewPlay" type="Button" parent="PanelContainer/VBoxContainer/Header"]
95
-margin_left = 432.0
96
-margin_right = 466.0
92
+margin_left = 416.0
93
+margin_right = 428.0
97 94
 margin_bottom = 28.0
98 95
 disabled = true
99
-icon = ExtResource( 5 )
100 96
 
101 97
 [node name="Preview" type="Label" parent="PanelContainer/VBoxContainer/Header"]
102 98
 visible = false
@@ -108,7 +104,7 @@ custom_colors/font_color = Color( 1, 1, 1, 0.513726 )
108 104
 text = "    ..."
109 105
 
110 106
 [node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 2 )]
111
-margin_left = 470.0
107
+margin_left = 432.0
112 108
 margin_right = 1735.0
113 109
 margin_bottom = 28.0
114 110
 
@@ -119,6 +115,7 @@ margin_bottom = 28.0
119 115
 items = [ "Move Up", null, 0, false, false, 0, 0, null, "", false, "Move Down", null, 0, false, false, 1, 0, null, "", false, "", null, 0, false, false, 2, 0, null, "", true, "Remove", null, 0, false, false, 3, 0, null, "", false ]
120 116
 
121 117
 [node name="AudioPreview" type="AudioStreamPlayer" parent="PanelContainer"]
118
+
122 119
 [connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonAudio" to="." method="_on_ButtonAudio_pressed"]
123 120
 [connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonClear" to="." method="_on_ButtonClear_pressed"]
124 121
 [connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonPreviewPlay" to="." method="_on_ButtonPreviewPlay_pressed"]

+ 3
- 1
addons/dialogic/Editor/Pieces/CallNode.tscn View File

@@ -1,10 +1,12 @@
1 1
 [gd_scene load_steps=6 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/Script.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/call-node.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/CallNode.gd" type="Script" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 
8
+
9
+
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0
10 12
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/ChangeScene.tscn View File

@@ -2,9 +2,11 @@
2 2
 
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/ChangeScene.gd" type="Script" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
5
-[ext_resource path="res://addons/dialogic/Images/Events/change-scene.svg" type="Texture" id=3]
5
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/change-scene.svg" type="Texture" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 
8
+
9
+
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0
10 12
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/ChangeTimeline.tscn View File

@@ -2,9 +2,11 @@
2 2
 
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/ChangeTimeline.gd" type="Script" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
5
-[ext_resource path="res://addons/dialogic/Images/Events/change-timeline.svg" type="Texture" id=3]
5
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/change-timeline.svg" type="Texture" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 
8
+
9
+
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0
10 12
 content_margin_right = 6.0

+ 4
- 2
addons/dialogic/Editor/Pieces/CharacterJoinBlock.tscn View File

@@ -3,11 +3,13 @@
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/CharacterJoinBlock.gd" type="Script" id=3]
6
-[ext_resource path="res://addons/dialogic/Images/character-join.svg" type="Texture" id=4]
7
-[ext_resource path="res://addons/dialogic/Images/character.svg" type="Texture" id=5]
6
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/character-join.svg" type="Texture" id=4]
7
+[ext_resource path="res://addons/dialogic/Images/Event Icons/character.svg" type="Texture" id=5]
8 8
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PortraitPicker.tscn" type="PackedScene" id=7]
9 9
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/CharacterPicker.tscn" type="PackedScene" id=8]
10 10
 
11
+
12
+
11 13
 [sub_resource type="StyleBoxFlat" id=1]
12 14
 content_margin_left = 16.0
13 15
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/CharacterLeaveBlock.tscn View File

@@ -2,9 +2,11 @@
2 2
 
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/CharacterLeaveBlock.gd" type="Script" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
5
-[ext_resource path="res://addons/dialogic/Images/character-leave.svg" type="Texture" id=3]
5
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/character-leave.svg" type="Texture" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 
8
+
9
+
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0
10 12
 content_margin_right = 6.0

+ 4
- 2
addons/dialogic/Editor/Pieces/Choice.tscn View File

@@ -1,12 +1,14 @@
1 1
 [gd_scene load_steps=8 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/choice.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/choice.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Choice.gd" type="Script" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7
-[ext_resource path="res://addons/dialogic/Images/warning.svg" type="Texture" id=6]
7
+[ext_resource path="res://addons/dialogic/Images/Event Icons/warning.svg" type="Texture" id=6]
8 8
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/CustomLineEdit.tscn" type="PackedScene" id=7]
9 9
 
10
+
11
+
10 12
 [sub_resource type="StyleBoxFlat" id=1]
11 13
 content_margin_left = 16.0
12 14
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/CloseDialog.tscn View File

@@ -1,10 +1,12 @@
1 1
 [gd_scene load_steps=6 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/end-dialog.svg" type="Texture" id=2]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/close-dialog.svg" type="Texture" id=2]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=3]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/CloseDialog.gd" type="Script" id=4]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=5]
7 7
 
8
+
9
+
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0
10 12
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/Common/CharacterPicker.tscn View File

@@ -1,8 +1,10 @@
1 1
 [gd_scene load_steps=3 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/character.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/character.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/CharacterPicker.gd" type="Script" id=2]
5 5
 
6
+
7
+
6 8
 [node name="CharacterPicker" type="HBoxContainer"]
7 9
 margin_right = 106.0
8 10
 margin_bottom = 30.0

+ 2
- 1
addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn View File

@@ -1,8 +1,9 @@
1 1
 [gd_scene load_steps=3 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/expand-icon.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Pieces/expand-icon.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.gd" type="Script" id=2]
5 5
 
6
+
6 7
 [node name="OptionButton" type="MenuButton"]
7 8
 margin_left = 1749.0
8 9
 margin_right = 1786.0

+ 3
- 1
addons/dialogic/Editor/Pieces/Common/PortraitPicker.tscn View File

@@ -1,8 +1,10 @@
1 1
 [gd_scene load_steps=3 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/Portrait.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Portrait.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PortraitPicker.gd" type="Script" id=2]
5 5
 
6
+
7
+
6 8
 [node name="PortraitPicker" type="MenuButton"]
7 9
 margin_right = 34.0
8 10
 margin_bottom = 30.0

+ 3
- 2
addons/dialogic/Editor/Pieces/Common/VisibleToggle.tscn View File

@@ -1,9 +1,10 @@
1 1
 [gd_scene load_steps=4 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/open-icon.svg" type="Texture" id=1]
4
-[ext_resource path="res://addons/dialogic/Images/closed-icon.svg" type="Texture" id=2]
3
+[ext_resource path="res://addons/dialogic/Images/Pieces/open-icon.svg" type="Texture" id=1]
4
+[ext_resource path="res://addons/dialogic/Images/Pieces/closed-icon.svg" type="Texture" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/VisibleToggle.gd" type="Script" id=3]
6 6
 
7
+
7 8
 [node name="VisibleToggle" type="CheckBox"]
8 9
 margin_right = 30.0
9 10
 margin_bottom = 30.0

+ 3
- 1
addons/dialogic/Editor/Pieces/EmitSignal.tscn View File

@@ -1,10 +1,12 @@
1 1
 [gd_scene load_steps=7 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/signal.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/emit-signal.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/EmitSignal.gd" type="Script" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 
8
+
9
+
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0
10 12
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/EndBranch.tscn View File

@@ -3,7 +3,9 @@
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/EndBranch.gd" type="Script" id=4]
6
-[ext_resource path="res://addons/dialogic/Images/end-choice.svg" type="Texture" id=5]
6
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/end-branch.svg" type="Texture" id=5]
7
+
8
+
7 9
 
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0

+ 3
- 1
addons/dialogic/Editor/Pieces/IfCondition.tscn View File

@@ -1,6 +1,6 @@
1 1
 [gd_scene load_steps=9 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/condition.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/condition.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/IfCondition.gd" type="Script" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/ConditionPicker.tscn" type="PackedScene" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
@@ -8,6 +8,8 @@
8 8
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/DefinitionPicker.tscn" type="PackedScene" id=7]
9 9
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=8]
10 10
 
11
+
12
+
11 13
 [sub_resource type="StyleBoxFlat" id=1]
12 14
 content_margin_left = 16.0
13 15
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/Question.tscn View File

@@ -1,10 +1,12 @@
1 1
 [gd_scene load_steps=6 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/question.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/question.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Question.gd" type="Script" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 
8
+
9
+
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0
10 12
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/SceneEvent.tscn View File

@@ -1,11 +1,13 @@
1 1
 [gd_scene load_steps=7 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/Events/scene.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/scene event.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/VisibleToggle.tscn" type="PackedScene" id=4]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/SceneEvent.gd" type="Script" id=5]
7 7
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=6]
8 8
 
9
+
10
+
9 11
 [sub_resource type="StyleBoxFlat" id=1]
10 12
 content_margin_left = 16.0
11 13
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/SetTheme.tscn View File

@@ -2,9 +2,11 @@
2 2
 
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/SetTheme.gd" type="Script" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
5
-[ext_resource path="res://addons/dialogic/Images/theme.svg" type="Texture" id=3]
5
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/set-theme.svg" type="Texture" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 
8
+
9
+
8 10
 [sub_resource type="StyleBoxFlat" id=1]
9 11
 content_margin_left = 16.0
10 12
 content_margin_right = 6.0

+ 2
- 1
addons/dialogic/Editor/Pieces/SetValue.tscn View File

@@ -1,12 +1,13 @@
1 1
 [gd_scene load_steps=9 format=2]
2 2
 
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/SetValue.gd" type="Script" id=1]
4
-[ext_resource path="res://addons/dialogic/Images/Resources/definition.svg" type="Texture" id=2]
4
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/set-value.svg" type="Texture" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/DefinitionPicker.tscn" type="PackedScene" id=6]
8 8
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/OperationPicker.tscn" type="PackedScene" id=7]
9 9
 
10
+
10 11
 [sub_resource type="StyleBoxFlat" id=1]
11 12
 content_margin_left = 16.0
12 13
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/TextBlock.tscn View File

@@ -2,12 +2,14 @@
2 2
 
3 3
 [ext_resource path="res://addons/dialogic/Editor/Pieces/TextBlock.gd" type="Script" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/VisibleToggle.tscn" type="PackedScene" id=2]
5
-[ext_resource path="res://addons/dialogic/Images/dialog.svg" type="Texture" id=3]
5
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/text-event.svg" type="Texture" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/CharacterPicker.tscn" type="PackedScene" id=6]
8 8
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PortraitPicker.tscn" type="PackedScene" id=7]
9 9
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=8]
10 10
 
11
+
12
+
11 13
 [sub_resource type="StyleBoxFlat" id=1]
12 14
 content_margin_left = 6.0
13 15
 content_margin_right = 6.0

+ 3
- 1
addons/dialogic/Editor/Pieces/WaitSeconds.tscn View File

@@ -1,11 +1,13 @@
1 1
 [gd_scene load_steps=8 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/Events/Wait.svg" type="Texture" id=1]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/wait-seconds.svg" type="Texture" id=1]
4 4
 [ext_resource path="res://addons/dialogic/Editor/Pieces/WaitSeconds.gd" type="Script" id=2]
5 5
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=3]
6 6
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
7 7
 [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/SpinBoxPreventDnD.gd" type="Script" id=6]
8 8
 
9
+
10
+
9 11
 [sub_resource type="StyleBoxFlat" id=1]
10 12
 content_margin_left = 16.0
11 13
 content_margin_right = 6.0

+ 207
- 139
addons/dialogic/Editor/ThemeEditor/ThemeEditor.gd View File

@@ -4,79 +4,84 @@ extends Control
4 4
 var editor_reference
5 5
 onready var master_tree = get_node('../MasterTreeContainer/MasterTree')
6 6
 onready var settings_editor = get_node('../SettingsEditor')
7
-var current_theme = ''
7
+var current_theme : String = ''
8 8
 
9 9
 # When loading the variables to the input fields in the 
10 10
 # load_theme function, every element thinks the value was updated
11 11
 # so it has to perform a "saving" of that property. 
12 12
 # The loading variable is a way to check if the values should be saved
13 13
 # or not.
14
-var loading = true 
14
+var loading : bool = true 
15 15
 
16 16
 # The amazing and revolutionary path system that magically works and you can't
17 17
 # complain because "that is not how you are supposed to work". If there was only
18 18
 # a way to set an id and then access that node via id...
19 19
 # Here you have paths in all its glory. Praise the paths (っ´ω`c)♡
20
-onready var n = {
21
-	# Text
22
-	'theme_text_shadow': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer2/CheckBoxShadow,
23
-	'theme_text_shadow_color': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer2/ColorPickerButtonShadow,
24
-	'theme_text_color': $VBoxContainer/TabContainer/Text/Column/GridContainer/ColorPickerButton,
25
-	'theme_font': $VBoxContainer/TabContainer/Text/Column/GridContainer/FontButton,
26
-	'theme_shadow_offset_x': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer/ShadowOffsetX,
27
-	'theme_shadow_offset_y': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer/ShadowOffsetY,
28
-	'theme_text_speed': $VBoxContainer/TabContainer/Text/Column/GridContainer/TextSpeed,
29
-	'alignment': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer3/Alignment,
20
+onready var n : Dictionary = {
21
+	# Dialog Text
22
+	'theme_text_shadow': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer2/CheckBoxShadow",
23
+	'theme_text_shadow_color': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer2/ColorPickerButtonShadow",
24
+	'theme_text_color': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/ColorPickerButton",
25
+	'theme_font': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/FontButton",
26
+	'theme_shadow_offset_x': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer/ShadowOffsetX",
27
+	'theme_shadow_offset_y': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer/ShadowOffsetY",
28
+	'theme_text_speed': $"VBoxContainer/TabContainer/Dialog Text/Column2/GridContainer/TextSpeed",
29
+	'alignment': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer3/Alignment",
30 30
 	
31 31
 	# Dialog box
32 32
 	'background_texture_button_visible': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer3/CheckBox",
33 33
 	'theme_background_image': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer3/BackgroundTextureButton",
34 34
 	'theme_next_image': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/NextIndicatorButton",
35 35
 	'next_animation': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/NextAnimation",
36
-	'theme_action_key': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/BoxContainer/ActionOptionButton",
36
+	'theme_action_key': $"VBoxContainer/TabContainer/Dialog Box/Column3/GridContainer/BoxContainer/ActionOptionButton",
37 37
 	'theme_background_color_visible': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer2/CheckBox",
38 38
 	'theme_background_color': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer2/ColorPickerButton",
39
-	'theme_text_margin': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer/TextOffsetV",
40
-	'theme_text_margin_h': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer/TextOffsetH",
41
-	'size_w': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer4/BoxSizeW",
42
-	'size_h': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer4/BoxSizeH", 
43
-	'bottom_gap': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer5/BottomGap",
39
+	'theme_text_margin': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer/TextOffsetV",
40
+	'theme_text_margin_h': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer/TextOffsetH",
41
+	'size_w': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer4/BoxSizeW",
42
+	'size_h': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer4/BoxSizeH", 
43
+	'bottom_gap': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer5/BottomGap",
44 44
 	'background_modulation': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer6/CheckBox",
45 45
 	'background_modulation_color': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer6/ColorPickerButton",
46 46
 	
47
+	# Character Names
48
+	'name_auto_color': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/CharacterColor",
49
+	'name_background_visible': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer2/CheckBox",
50
+	'name_background': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer2/ColorPickerButton",
51
+	'name_image': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer3/BackgroundTextureButton",
52
+	'name_image_visible': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer3/CheckBox",
53
+	'name_shadow': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer4/ColorPickerButtonShadow",
54
+	'name_shadow_visible': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer4/CheckBoxShadow",
55
+	'name_shadow_offset_x': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer/ShadowOffsetX",
56
+	'name_shadow_offset_y': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer/ShadowOffsetY",
57
+	'name_bottom_gap': $"VBoxContainer/TabContainer/Name Label/Column3/GridContainer/HBoxContainer5/BottomGap",
58
+	'name_background_modulation': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer6/CheckBox",
59
+	'name_background_modulation_color': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer6/ColorPickerButton",
47 60
 	
48
-	# Buttons
61
+	# Choice Buttons
49 62
 	'button_text_color_enabled': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer4/CheckBox2",
50 63
 	'button_text_color': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer4/ButtonTextColor",
51 64
 	'button_background': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer2/ColorPickerButton",
52 65
 	'button_background_visible': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer2/CheckBox",
53 66
 	'button_image': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer3/BackgroundTextureButton",
54 67
 	'button_image_visible': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer3/CheckBox",
55
-	'button_offset_x': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer/TextOffsetH",
56
-	'button_offset_y': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer/TextOffsetV",
57
-	'button_separation': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/VerticalSeparation",
58
-	
59
-	# Definitions
68
+	'button_modulation': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer6/CheckBox",
69
+	'button_modulation_color': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer6/ColorPickerButton",
70
+	'button_use_native': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/CheckBox",
71
+	'button_offset_x': $"VBoxContainer/TabContainer/Choice Buttons/Column2/GridContainer/HBoxContainer/TextOffsetH",
72
+	'button_offset_y': $"VBoxContainer/TabContainer/Choice Buttons/Column2/GridContainer/HBoxContainer/TextOffsetV",
73
+	'button_separation': $"VBoxContainer/TabContainer/Choice Buttons/Column2/GridContainer/VerticalSeparation",
74
+	
75
+	# Glossary
60 76
 	'glossary_font': $VBoxContainer/TabContainer/Glossary/Column/GridContainer/FontButton,
61 77
 	'glossary_color': $VBoxContainer/TabContainer/Glossary/Column/GridContainer/ColorPickerButton,
62 78
 	
63 79
 	# Text preview
64 80
 	'text_preview': $VBoxContainer/HBoxContainer3/TextEdit,
65 81
 	
66
-	# Character Names
67
-	'name_auto_color': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/CheckBox",
68
-	'name_background_visible': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer2/CheckBox",
69
-	'name_background': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer2/ColorPickerButton",
70
-	'name_image': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer3/BackgroundTextureButton",
71
-	'name_image_visible': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer3/CheckBox",
72
-	'name_shadow': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer4/ColorPickerButtonShadow",
73
-	'name_shadow_visible': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer4/CheckBoxShadow",
74
-	'name_shadow_offset_x': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer/ShadowOffsetX",
75
-	'name_shadow_offset_y': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer/ShadowOffsetY",
76
-	'name_bottom_gap': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer5/BottomGap",
77 82
 }
78 83
 
79
-func _ready():
84
+func _ready() -> void:
80 85
 	# Signal connection to free up some memory
81 86
 	connect("visibility_changed", self, "_on_visibility_changed")
82 87
 	if get_constant("dark_theme", "Editor"):
@@ -86,6 +91,9 @@ func _ready():
86 91
 	
87 92
 	$DelayPreviewTimer.one_shot = true
88 93
 	$DelayPreviewTimer.connect("timeout", self, '_on_DelayPreview_timer_timeout')
94
+	
95
+	var title_style = $"VBoxContainer/TabContainer/Dialog Text/Column/SectionTitle".get('custom_styles/normal')
96
+	title_style.set('bg_color', get_color("prop_category", "Editor"))
89 97
 	# Force preview update
90 98
 	_on_visibility_changed()
91 99
 
@@ -98,11 +106,11 @@ func load_theme(filename):
98 106
 	n['theme_action_key'].text = theme.get_value('settings', 'action_key', 'ui_accept')
99 107
 	
100 108
 	# Background
101
-	n['theme_background_image'].text = DialogicResources.get_filename_from_path(theme.get_value('background', 'image', 'res://addons/dialogic/Images/background/background-2.png'))
109
+	n['theme_background_image'].text = DialogicResources.get_filename_from_path(theme.get_value('background', 'image', 'res://addons/dialogic/Example Assets/backgrounds/background-2.png'))
102 110
 	n['background_texture_button_visible'].pressed = theme.get_value('background', 'use_image', true)
103 111
 	n['theme_background_color'].color = Color(theme.get_value('background', 'color', '#ff000000'))
104 112
 	n['theme_background_color_visible'].pressed = theme.get_value('background', 'use_color', false)
105
-	n['theme_next_image'].text = DialogicResources.get_filename_from_path(theme.get_value('next_indicator', 'image', 'res://addons/dialogic/Images/next-indicator.png'))
113
+	n['theme_next_image'].text = DialogicResources.get_filename_from_path(theme.get_value('next_indicator', 'image', 'res://addons/dialogic/Example Assets/next-indicator/next-indicator.png'))
106 114
 
107 115
 	n['background_modulation'].pressed = theme.get_value('background', 'modulation', false)
108 116
 	n['background_modulation_color'].color = Color(theme.get_value('background', 'modulation_color', '#ffffffff'))
@@ -119,19 +127,26 @@ func load_theme(filename):
119 127
 	n['button_text_color'].color = Color(theme.get_value('buttons', 'text_color', "#ffffffff"))
120 128
 	n['button_background'].color = Color(theme.get_value('buttons', 'background_color', "#ff000000"))
121 129
 	n['button_background_visible'].pressed = theme.get_value('buttons', 'use_background_color', false)
122
-	n['button_image'].text = DialogicResources.get_filename_from_path(theme.get_value('buttons', 'image', 'res://addons/dialogic/Images/background/background-2.png'))
130
+	n['button_image'].text = DialogicResources.get_filename_from_path(theme.get_value('buttons', 'image', 'res://addons/dialogic/Example Assets/backgrounds/background-2.png'))
123 131
 	n['button_image_visible'].pressed = theme.get_value('buttons', 'use_image', true)
132
+	n['button_use_native'].pressed = theme.get_value('buttons', 'use_native', false)
124 133
 	n['button_offset_x'].value = theme.get_value('buttons', 'padding', Vector2(5,5)).x
125 134
 	n['button_offset_y'].value = theme.get_value('buttons', 'padding', Vector2(5,5)).y
126 135
 	n['button_separation'].value = theme.get_value('buttons', 'gap', 5)
136
+	n['button_modulation'].pressed = theme.get_value('buttons', 'modulation', false)
137
+	n['button_modulation_color'].color = Color(theme.get_value('buttons', 'modulation_color', '#ffffffff'))
138
+	
139
+	
140
+	
141
+	toggle_button_customization_fields(not theme.get_value('buttons', 'use_native', false))
127 142
 	
128 143
 	# Definitions
129 144
 	n['glossary_color'].color = Color(theme.get_value('definitions', 'color', "#ffffffff"))
130
-	n['glossary_font'].text = DialogicResources.get_filename_from_path(theme.get_value('definitions', 'font', "res://addons/dialogic/Fonts/GlossaryFont.tres"))
145
+	n['glossary_font'].text = DialogicResources.get_filename_from_path(theme.get_value('definitions', 'font', "res://addons/dialogic/Example Assets/Fonts/GlossaryFont.tres"))
131 146
 	
132 147
 	# Text
133 148
 	n['theme_text_speed'].value = theme.get_value('text','speed', 2)
134
-	n['theme_font'].text = DialogicResources.get_filename_from_path(theme.get_value('text', 'font', 'res://addons/dialogic/Fonts/DefaultFont.tres'))
149
+	n['theme_font'].text = DialogicResources.get_filename_from_path(theme.get_value('text', 'font', 'res://addons/dialogic/Example Assets/Fonts/DefaultFont.tres'))
135 150
 	n['theme_text_color'].color = Color(theme.get_value('text', 'color', '#ffffffff'))
136 151
 	n['theme_text_shadow'].pressed = theme.get_value('text', 'shadow', false)
137 152
 	n['theme_text_shadow_color'].color = Color(theme.get_value('text', 'shadow_color', '#9e000000'))
@@ -154,7 +169,11 @@ func load_theme(filename):
154 169
 	n['name_background_visible'].pressed = theme.get_value('name', 'background_visible', false)
155 170
 	n['name_background'].color = Color(theme.get_value('name', 'background', "#ff000000"))
156 171
 	n['name_image_visible'].pressed = theme.get_value('name', 'image_visible', false)
157
-	n['name_image'].text = DialogicResources.get_filename_from_path(theme.get_value('name', 'image', 'res://addons/dialogic/Images/background/background-2.png'))
172
+
173
+	n['name_image'].text = DialogicResources.get_filename_from_path(theme.get_value('name', 'image', 'res://addons/dialogic/Example Assets/backgrounds/background-2.png'))
174
+	n['name_background_modulation'].pressed = theme.get_value('name', 'modulation', false)
175
+	n['name_background_modulation_color'].color = Color(theme.get_value('name', 'modulation_color', '#ffffffff'))
176
+
158 177
 	
159 178
 	
160 179
 	n['name_shadow'].color = Color(theme.get_value('name', 'shadow', "#9e000000"))
@@ -184,8 +203,8 @@ func load_theme(filename):
184 203
 	_on_PreviewButton_pressed()
185 204
 
186 205
 
187
-func new_theme():
188
-	var theme_file = 'theme-' + str(OS.get_unix_time()) + '.cfg'
206
+func new_theme() -> void:
207
+	var theme_file : String = 'theme-' + str(OS.get_unix_time()) + '.cfg'
189 208
 	DialogicResources.add_theme(theme_file)
190 209
 	master_tree.build_themes(theme_file)
191 210
 	load_theme(theme_file)
@@ -195,78 +214,78 @@ func new_theme():
195 214
 		settings_editor.set_value('theme', 'default', theme_file)
196 215
 
197 216
 
198
-func duplicate_theme(from_filename):
199
-	var duplicate_theme = 'theme-' + str(OS.get_unix_time()) + '.cfg'
217
+func duplicate_theme(from_filename) -> void:
218
+	var duplicate_theme : String = 'theme-' + str(OS.get_unix_time()) + '.cfg'
200 219
 	DialogicResources.duplicate_theme(from_filename, duplicate_theme)
201 220
 	DialogicResources.set_theme_value(duplicate_theme, 'settings', 'name', duplicate_theme)
202 221
 	master_tree.build_themes(duplicate_theme)
203 222
 	load_theme(duplicate_theme)
204 223
 	
205 224
 
206
-func _on_BackgroundTextureButton_pressed():
225
+func _on_BackgroundTextureButton_pressed() -> void:
207 226
 	editor_reference.godot_dialog("*.png")
208 227
 	editor_reference.godot_dialog_connect(self, "_on_background_selected")
209 228
 
210 229
 
211
-func _on_background_selected(path, target):
212
-	if loading == true:
230
+func _on_background_selected(path, target) -> void:
231
+	if loading:
213 232
 		return
214 233
 	DialogicResources.set_theme_value(current_theme, 'background','image', path)
215 234
 	n['theme_background_image'].text = DialogicResources.get_filename_from_path(path)
216 235
 	_on_PreviewButton_pressed() # Refreshing the preview
217 236
 
218 237
 
219
-func _on_NextIndicatorButton_pressed():
238
+func _on_NextIndicatorButton_pressed() -> void:
220 239
 	editor_reference.godot_dialog("*.png")
221 240
 	editor_reference.godot_dialog_connect(self, "_on_indicator_selected")
222 241
 
223 242
 
224
-func _on_indicator_selected(path, target):
225
-	if loading == true:
243
+func _on_indicator_selected(path, target) -> void:
244
+	if loading:
226 245
 		return
227 246
 	DialogicResources.set_theme_value(current_theme, 'next_indicator','image', path)
228 247
 	n['theme_next_image'].text = DialogicResources.get_filename_from_path(path)
229 248
 	_on_PreviewButton_pressed() # Refreshing the preview
230 249
 
231 250
 
232
-func _on_NextAnimation_item_selected(index):
251
+func _on_NextAnimation_item_selected(index) -> void:
233 252
 	DialogicResources.set_theme_value(current_theme, 'next_indicator', 'animation', n['next_animation'].get_item_text(index))
234 253
 	_on_PreviewButton_pressed() # Refreshing the preview
235 254
 
236 255
 
237
-func _on_ColorPickerButton_color_changed(color):
238
-	if loading == true:
256
+func _on_ColorPickerButton_color_changed(color) -> void:
257
+	if loading:
239 258
 		return
240 259
 	DialogicResources.set_theme_value(current_theme, 'text','color', '#' + color.to_html())
241 260
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
242 261
 
243 262
 
244
-func _on_ColorPickerButtonShadow_color_changed(color):
245
-	if loading == true:
263
+func _on_ColorPickerButtonShadow_color_changed(color) -> void:
264
+	if loading:
246 265
 		return
247 266
 	DialogicResources.set_theme_value(current_theme, 'text','shadow_color', '#' + color.to_html())
248 267
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
249 268
 
250 269
 
251
-func _on_CheckBoxShadow_toggled(button_pressed):
252
-	if loading == true:
270
+func _on_CheckBoxShadow_toggled(button_pressed) -> void:
271
+	if loading:
253 272
 		return
254 273
 	DialogicResources.set_theme_value(current_theme, 'text','shadow', button_pressed)
255 274
 	_on_PreviewButton_pressed() # Refreshing the preview
256 275
 
257 276
 
258
-func _on_ShadowOffset_value_changed(_value):
259
-	if loading == true:
277
+func _on_ShadowOffset_value_changed(_value) -> void:
278
+	if loading:
260 279
 		return
261 280
 	DialogicResources.set_theme_value(current_theme, 'text','shadow_offset', Vector2(n['theme_shadow_offset_x'].value,n['theme_shadow_offset_y'].value))
262 281
 	_on_PreviewButton_pressed() # Refreshing the preview
263 282
 
264 283
 
265
-func _on_PreviewButton_pressed():
284
+func _on_PreviewButton_pressed() -> void:
266 285
 	for i in $VBoxContainer/Panel.get_children():
267 286
 		i.free()
268 287
 	var dialogic_node = load("res://addons/dialogic/Dialog.tscn")
269
-	var preview_dialog = dialogic_node.instance()
288
+	var preview_dialog: DialogicNode = dialogic_node.instance()
270 289
 	preview_dialog.timeline = ''
271 290
 	preview_dialog.preview = true
272 291
 	preview_dialog.debug_mode = false
@@ -280,24 +299,24 @@ func _on_PreviewButton_pressed():
280 299
 		character_file = characters[0]['file']
281 300
 	
282 301
 	# Loading the theme here because I need it for the parse_alignment
283
-	preview_dialog.current_theme = preview_dialog.load_theme(current_theme)
302
+	preview_dialog.current_theme = preview_dialog._load_theme(current_theme)
284 303
 	
285 304
 	# Creating the one event timeline for the dialog
286
-	var text = preview_dialog.parse_definitions(n['text_preview'].text)
305
+	var text = preview_dialog._parse_definitions(n['text_preview'].text)
287 306
 	preview_dialog.dialog_script['events'] = [{
288 307
 		"character": character_file,
289 308
 		"portrait":'',
290 309
 		"text": text
291 310
 	}]
292
-	preview_dialog.parse_characters(preview_dialog.dialog_script)
311
+	preview_dialog._parse_characters(preview_dialog.dialog_script)
293 312
 	preview_dialog.settings = DialogicResources.get_settings_config()
294 313
 	
295 314
 	# Alignment
296 315
 	$VBoxContainer/Panel.add_child(preview_dialog)
297 316
 	
298
-	preview_dialog.load_dialog()
317
+	preview_dialog._init_dialog()
299 318
 	# Reloading the theme
300
-	preview_dialog.current_theme = preview_dialog.load_theme(current_theme)
319
+	preview_dialog.current_theme = preview_dialog._load_theme(current_theme)
301 320
 	
302 321
 	
303 322
 	# When not performing this step, the dialog name doesn't update the color for some reason
@@ -311,13 +330,13 @@ func _on_PreviewButton_pressed():
311 330
 	$VBoxContainer/Panel.rect_size.y = 0
312 331
 
313 332
 
314
-func _on_ActionOptionButton_item_selected(index):
315
-	if loading == true:
333
+func _on_ActionOptionButton_item_selected(index) -> void:
334
+	if loading:
316 335
 		return
317 336
 	DialogicResources.set_theme_value(current_theme, 'settings','action_key', n['theme_action_key'].text)
318 337
 
319 338
 
320
-func _on_ActionOptionButton_pressed():
339
+func _on_ActionOptionButton_pressed() -> void:
321 340
 	n['theme_action_key'].clear()
322 341
 	n['theme_action_key'].add_item('[Select Action]')
323 342
 	InputMap.load_from_globals()
@@ -325,28 +344,28 @@ func _on_ActionOptionButton_pressed():
325 344
 		n['theme_action_key'].add_item(a)
326 345
 
327 346
 
328
-func _on_FontButton_pressed():
347
+func _on_FontButton_pressed() -> void:
329 348
 	editor_reference.godot_dialog("*.tres")
330 349
 	editor_reference.godot_dialog_connect(self, "_on_Font_selected")
331 350
 
332 351
 
333
-func _on_Font_selected(path, target):
334
-	if loading == true:
352
+func _on_Font_selected(path, target) -> void:
353
+	if loading:
335 354
 		return
336 355
 	DialogicResources.set_theme_value(current_theme, 'text','font', path)
337 356
 	n['theme_font'].text = DialogicResources.get_filename_from_path(path)
338 357
 	_on_PreviewButton_pressed() # Refreshing the preview
339 358
 
340 359
 
341
-func _on_textSpeed_value_changed(value):
342
-	if loading == true:
360
+func _on_textSpeed_value_changed(value) -> void:
361
+	if loading:
343 362
 		return
344 363
 	DialogicResources.set_theme_value(current_theme, 'text','speed', value)
345 364
 	_on_PreviewButton_pressed() # Refreshing the preview
346 365
 
347 366
 
348
-func _on_TextMargin_value_changed(value):
349
-	if loading == true:
367
+func _on_TextMargin_value_changed(value) -> void:
368
+	if loading:
350 369
 		return
351 370
 	var final_vector = Vector2(
352 371
 		n['theme_text_margin'].value,
@@ -356,42 +375,42 @@ func _on_TextMargin_value_changed(value):
356 375
 	_on_PreviewButton_pressed() # Refreshing the preview
357 376
 
358 377
 
359
-func _on_BackgroundColor_CheckBox_toggled(button_pressed):
360
-	if loading == true:
378
+func _on_BackgroundColor_CheckBox_toggled(button_pressed) -> void:
379
+	if loading:
361 380
 		return
362 381
 	DialogicResources.set_theme_value(current_theme, 'background', 'use_color', button_pressed)
363 382
 	_on_PreviewButton_pressed() # Refreshing the preview
364 383
 
365 384
 
366
-func _on_BackgroundColor_ColorPickerButton_color_changed(color):
367
-	if loading == true:
385
+func _on_BackgroundColor_ColorPickerButton_color_changed(color) -> void:
386
+	if loading:
368 387
 		return
369 388
 	DialogicResources.set_theme_value(current_theme, 'background', 'color', '#' + color.to_html())
370 389
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
371 390
 
372 391
 
373
-func _on_BackgroundTexture_CheckBox_toggled(button_pressed):
374
-	if loading == true:
392
+func _on_BackgroundTexture_CheckBox_toggled(button_pressed) -> void:
393
+	if loading:
375 394
 		return
376 395
 	DialogicResources.set_theme_value(current_theme, 'background', 'use_image', button_pressed)
377 396
 	_on_PreviewButton_pressed() # Refreshing the preview
378 397
 	
379 398
 
380
-func _on_button_background_visible_toggled(button_pressed):
381
-	if loading == true:
399
+func _on_button_background_visible_toggled(button_pressed) -> void:
400
+	if loading:
382 401
 		return
383 402
 	DialogicResources.set_theme_value(current_theme, 'buttons', 'use_background_color', button_pressed)
384 403
 
385 404
 
386
-func _on_button_background_color_color_changed(color):
387
-	if loading == true:
405
+func _on_button_background_color_color_changed(color) -> void:
406
+	if loading:
388 407
 		return
389 408
 	DialogicResources.set_theme_value(current_theme, 'buttons', 'background_color', '#' + color.to_html())
390 409
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
391 410
 
392 411
 
393
-func _on_ButtonOffset_value_changed(value):
394
-	if loading == true:
412
+func _on_ButtonOffset_value_changed(value) -> void:
413
+	if loading:
395 414
 		return
396 415
 	var final_vector = Vector2(
397 416
 		n['button_offset_x'].value,
@@ -400,64 +419,84 @@ func _on_ButtonOffset_value_changed(value):
400 419
 	DialogicResources.set_theme_value(current_theme, 'buttons', 'padding', final_vector)
401 420
 
402 421
 
403
-func _on_VerticalSeparation_value_changed(value):
404
-	if loading == true:
422
+func _on_VerticalSeparation_value_changed(value) -> void:
423
+	if loading:
405 424
 		return
406 425
 	DialogicResources.set_theme_value(current_theme, 'buttons', 'gap', n['button_separation'].value)
407 426
 
408 427
 
409
-func _on_button_texture_toggled(button_pressed):
410
-	if loading == true:
428
+func _on_button_texture_toggled(button_pressed) -> void:
429
+	if loading:
411 430
 		return
412 431
 	DialogicResources.set_theme_value(current_theme, 'buttons', 'use_image', button_pressed)
413 432
 
414 433
 
415
-func _on_ButtonTextureButton_pressed():
434
+func _on_ButtonTextureButton_pressed() -> void:
416 435
 	editor_reference.godot_dialog("*.png")
417 436
 	editor_reference.godot_dialog_connect(self, "_on_button_texture_selected")
418 437
 
419 438
 
420
-func _on_button_texture_selected(path, target):
421
-	if loading == true:
439
+func _on_button_texture_selected(path, target) -> void:
440
+	if loading:
422 441
 		return
423 442
 	DialogicResources.set_theme_value(current_theme, 'buttons', 'image', path)
424 443
 	n['button_image'].text = DialogicResources.get_filename_from_path(path)
425 444
 
426 445
 
427
-func _on_ButtonTextColor_color_changed(color):
428
-	if loading == true:
446
+func _on_ButtonTextColor_color_changed(color) -> void:
447
+	if loading:
429 448
 		return
430 449
 	DialogicResources.set_theme_value(current_theme, 'buttons', 'text_color', '#' + color.to_html())
431 450
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
432 451
 
433 452
 
434
-func _on_Custom_Button_Color_toggled(button_pressed):
435
-	if loading == true:
453
+func _on_Custom_Button_Color_toggled(button_pressed) -> void:
454
+	if loading:
436 455
 		return
437 456
 	DialogicResources.set_theme_value(current_theme, 'buttons', 'text_color_enabled', button_pressed)
438 457
 
439 458
 
440
-func _on_GlossaryColorPicker_color_changed(color):
441
-	if loading == true:
459
+func _on_native_button_toggled(button_pressed) -> void:
460
+	if loading:
461
+		return
462
+	DialogicResources.set_theme_value(current_theme, 'buttons', 'use_native', button_pressed)
463
+	toggle_button_customization_fields(not button_pressed)
464
+
465
+func toggle_button_customization_fields(enabled) -> void:
466
+	var disabled = not enabled
467
+	n['button_text_color_enabled'].disabled = disabled
468
+	n['button_text_color'].disabled = disabled
469
+	n['button_background'].disabled = disabled
470
+	n['button_background_visible'].disabled = disabled
471
+	n['button_image'].disabled = disabled
472
+	n['button_image_visible'].disabled = disabled
473
+	n['button_modulation'].disabled = disabled
474
+	n['button_modulation_color'].disabled = disabled
475
+	n['button_offset_x'].editable = enabled
476
+	n['button_offset_y'].editable = enabled
477
+
478
+
479
+func _on_GlossaryColorPicker_color_changed(color) -> void:
480
+	if loading:
442 481
 		return
443 482
 	DialogicResources.set_theme_value(current_theme, 'definitions', 'color', '#' + color.to_html())
444 483
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
445 484
 
446 485
 
447
-func _on_GlossaryFontButton_pressed():
486
+func _on_GlossaryFontButton_pressed() -> void:
448 487
 	editor_reference.godot_dialog("*.tres")
449 488
 	editor_reference.godot_dialog_connect(self, "_on_Glossary_Font_selected")
450 489
 
451 490
 
452
-func _on_Glossary_Font_selected(path, target):
453
-	if loading == true:
491
+func _on_Glossary_Font_selected(path, target) -> void:
492
+	if loading:
454 493
 		return
455 494
 	DialogicResources.set_theme_value(current_theme, 'definitions', 'font', path)
456 495
 	n['glossary_font'].text = DialogicResources.get_filename_from_path(path)
457 496
 	_on_PreviewButton_pressed() # Refreshing the preview
458 497
 
459 498
 
460
-func _on_visibility_changed():
499
+func _on_visibility_changed() -> void:
461 500
 	if visible:
462 501
 		# Refreshing the dialog 
463 502
 		_on_PreviewButton_pressed()
@@ -468,23 +507,23 @@ func _on_visibility_changed():
468 507
 			i.queue_free()
469 508
 
470 509
 
471
-func _on_BoxSize_value_changed(value):
472
-	if loading == true:
510
+func _on_BoxSize_value_changed(value) -> void:
511
+	if loading:
473 512
 		return
474 513
 	var size_value = Vector2(n['size_w'].value, n['size_h'].value)
475 514
 	DialogicResources.set_theme_value(current_theme, 'box', 'size', size_value)
476 515
 	_on_PreviewButton_pressed() # Refreshing the preview
477 516
 
478 517
 
479
-func _on_BottomGap_value_changed(value):
480
-	if loading == true:
518
+func _on_BottomGap_value_changed(value) -> void:
519
+	if loading:
481 520
 		return
482 521
 	DialogicResources.set_theme_value(current_theme, 'box', 'bottom_gap', value)
483 522
 	_on_PreviewButton_pressed() # Refreshing the preview
484 523
 
485 524
 
486
-func _on_Alignment_item_selected(index):
487
-	if loading == true:
525
+func _on_Alignment_item_selected(index) -> void:
526
+	if loading:
488 527
 		return
489 528
 	if index == 0:
490 529
 		DialogicResources.set_theme_value(current_theme, 'text', 'alignment', 'Left')
@@ -495,95 +534,124 @@ func _on_Alignment_item_selected(index):
495 534
 	_on_PreviewButton_pressed() # Refreshing the preview
496 535
 
497 536
 
498
-func _on_Preview_text_changed():
499
-	if loading == true:
537
+func _on_Preview_text_changed() -> void:
538
+	if loading:
500 539
 		return
501 540
 	DialogicResources.set_theme_value(current_theme, 'text', 'preview', n['text_preview'].text)
502 541
 
503 542
 
504
-func _on_name_auto_color_toggled(button_pressed):
505
-	if loading == true:
543
+func _on_name_auto_color_toggled(button_pressed) -> void:
544
+	if loading:
506 545
 		return
507 546
 	DialogicResources.set_theme_value(current_theme, 'name', 'auto_color', button_pressed)
508 547
 	_on_PreviewButton_pressed() # Refreshing the preview
509 548
 
510 549
 
511
-func _on_name_background_visible_toggled(button_pressed):
512
-	if loading == true:
550
+func _on_name_background_visible_toggled(button_pressed) -> void:
551
+	if loading:
513 552
 		return
514 553
 	DialogicResources.set_theme_value(current_theme, 'name', 'background_visible', button_pressed)
515 554
 	_on_PreviewButton_pressed() # Refreshing the preview
516 555
 
517 556
 
518
-func _on_name_background_color_changed(color):
519
-	if loading == true:
557
+func _on_name_background_color_changed(color) -> void:
558
+	if loading:
520 559
 		return
521 560
 	DialogicResources.set_theme_value(current_theme, 'name', 'background', '#' + color.to_html())
522 561
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
523 562
 
524 563
 
525
-func _on_name_image_visible_toggled(button_pressed):
526
-	if loading == true:
564
+func _on_name_image_visible_toggled(button_pressed) -> void:
565
+	if loading:
527 566
 		return
528 567
 	DialogicResources.set_theme_value(current_theme, 'name', 'image_visible', button_pressed)
529 568
 	_on_PreviewButton_pressed() # Refreshing the preview
530 569
 
531 570
 
532
-func _on_name_image_pressed():
571
+func _on_name_image_pressed() -> void:
533 572
 	editor_reference.godot_dialog("*.png")
534 573
 	editor_reference.godot_dialog_connect(self, "_on_name_texture_selected")
535 574
 
536 575
 
537
-func _on_name_texture_selected(path, target):
538
-	if loading == true:
576
+func _on_name_texture_selected(path, target) -> void:
577
+	if loading:
539 578
 		return
540 579
 	DialogicResources.set_theme_value(current_theme, 'name', 'image', path)
541 580
 	n['name_image'].text = DialogicResources.get_filename_from_path(path)
542 581
 	_on_PreviewButton_pressed() # Refreshing the preview
543 582
 
544 583
 
545
-func _on_shadow_visible_toggled(button_pressed):
546
-	if loading == true:
584
+func _on_shadow_visible_toggled(button_pressed) -> void:
585
+	if loading:
547 586
 		return
548 587
 	DialogicResources.set_theme_value(current_theme, 'name', 'shadow_visible', button_pressed)
549 588
 	_on_PreviewButton_pressed() # Refreshing the preview
550 589
 
551 590
 
552
-func _on_name_shadow_color_changed(color):
553
-	if loading == true:
591
+func _on_name_shadow_color_changed(color) -> void:
592
+	if loading:
554 593
 		return
555 594
 	DialogicResources.set_theme_value(current_theme, 'name', 'shadow', '#' + color.to_html())
556 595
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
557 596
 
558 597
 
559
-func _on_name_ShadowOffset_value_changed(_value):
560
-	if loading == true:
598
+func _on_name_ShadowOffset_value_changed(_value) -> void:
599
+	if loading:
561 600
 		return
562 601
 	DialogicResources.set_theme_value(current_theme, 'name','shadow_offset', 
563 602
 			Vector2(n['name_shadow_offset_x'].value,n['name_shadow_offset_y'].value))
564 603
 	_on_PreviewButton_pressed() # Refreshing the preview
565 604
 
566 605
 
567
-func _on_name_BottomGap_value_changed(value):
568
-	if loading == true:
606
+func _on_name_BottomGap_value_changed(value) -> void:
607
+	if loading:
569 608
 		return
570 609
 	DialogicResources.set_theme_value(current_theme, 'name', 'bottom_gap', value)
571 610
 	_on_PreviewButton_pressed() # Refreshing the preview
572 611
 
573 612
 
574
-func _on_DelayPreview_timer_timeout():
613
+func _on_DelayPreview_timer_timeout() -> void:
575 614
 	_on_PreviewButton_pressed() # Refreshing the preview
576 615
 
577 616
 
578
-func _on_BackgroundTexture_Modulation_toggled(button_pressed):
579
-	if loading == true:
617
+func _on_BackgroundTexture_Modulation_toggled(button_pressed) -> void:
618
+	if loading:
580 619
 		return
581 620
 	DialogicResources.set_theme_value(current_theme, 'background', 'modulation', button_pressed)
582 621
 	_on_PreviewButton_pressed() # Refreshing the preview
583 622
 
584 623
 
585
-func _on_ColorPicker_Background_texture_modulation_color_changed(color):
586
-	if loading == true:
624
+func _on_ColorPicker_Background_texture_modulation_color_changed(color) -> void:
625
+	if loading:
587 626
 		return
588 627
 	DialogicResources.set_theme_value(current_theme, 'background', 'modulation_color', '#' + color.to_html())
589 628
 	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
629
+
630
+
631
+func _on_ColorPicker_NameLabel_modulation_color_changed(color) -> void:
632
+	if loading:
633
+		return
634
+	DialogicResources.set_theme_value(current_theme, 'name', 'modulation_color', '#' + color.to_html())
635
+	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
636
+
637
+
638
+func _on_NameLabel_texture_modulation_toggled(button_pressed) -> void:
639
+	if loading:
640
+		return
641
+	DialogicResources.set_theme_value(current_theme, 'name', 'modulation', button_pressed)
642
+	_on_PreviewButton_pressed() # Refreshing the preview
643
+
644
+
645
+func _on_ChoiceButtons_texture_modulate_toggled(button_pressed) -> void:
646
+	if loading:
647
+		return
648
+	DialogicResources.set_theme_value(current_theme, 'buttons', 'modulation', button_pressed)
649
+	_on_PreviewButton_pressed() # Refreshing the preview
650
+
651
+
652
+func _on_ColorPicker_ChoiceButtons_modulation_color_changed(color) -> void:
653
+	if loading:
654
+		return
655
+	DialogicResources.set_theme_value(current_theme, 'buttons', 'modulation_color', '#' + color.to_html())
656
+	$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
657
+

+ 649
- 377
addons/dialogic/Editor/ThemeEditor/ThemeEditor.tscn
File diff suppressed because it is too large
View File


+ 20
- 19
addons/dialogic/Editor/TimelineEditor/TimelineEditor.tscn View File

@@ -1,28 +1,29 @@
1 1
 [gd_scene load_steps=25 format=2]
2 2
 
3
-[ext_resource path="res://addons/dialogic/Images/character-join.svg" type="Texture" id=1]
4
-[ext_resource path="res://addons/dialogic/Images/dialog.svg" type="Texture" id=2]
5
-[ext_resource path="res://addons/dialogic/Images/Events/audio-event.svg" type="Texture" id=3]
6
-[ext_resource path="res://addons/dialogic/Images/Events/scene.svg" type="Texture" id=4]
7
-[ext_resource path="res://addons/dialogic/Images/condition.svg" type="Texture" id=5]
8
-[ext_resource path="res://addons/dialogic/Images/end-dialog.svg" type="Texture" id=6]
9
-[ext_resource path="res://addons/dialogic/Images/character-leave.svg" type="Texture" id=7]
10
-[ext_resource path="res://addons/dialogic/Images/question.svg" type="Texture" id=8]
11
-[ext_resource path="res://addons/dialogic/Images/end-choice.svg" type="Texture" id=9]
12
-[ext_resource path="res://addons/dialogic/Images/Events/change-timeline.svg" type="Texture" id=10]
13
-[ext_resource path="res://addons/dialogic/Images/Resources/definition.svg" type="Texture" id=11]
14
-[ext_resource path="res://addons/dialogic/Images/choice.svg" type="Texture" id=12]
15
-[ext_resource path="res://addons/dialogic/Images/tutorials/arrow-down.svg" type="Texture" id=13]
16
-[ext_resource path="res://addons/dialogic/Images/Events/Wait.svg" type="Texture" id=14]
17
-[ext_resource path="res://addons/dialogic/Images/Events/change-scene.svg" type="Texture" id=15]
18
-[ext_resource path="res://addons/dialogic/Images/signal.svg" type="Texture" id=16]
3
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/character-join.svg" type="Texture" id=1]
4
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/text-event.svg" type="Texture" id=2]
5
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg" type="Texture" id=3]
6
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/scene event.svg" type="Texture" id=4]
7
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/condition.svg" type="Texture" id=5]
8
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/close-dialog.svg" type="Texture" id=6]
9
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/character-leave.svg" type="Texture" id=7]
10
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/question.svg" type="Texture" id=8]
11
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/end-branch.svg" type="Texture" id=9]
12
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/change-timeline.svg" type="Texture" id=10]
13
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/set-value.svg" type="Texture" id=11]
14
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/choice.svg" type="Texture" id=12]
15
+[ext_resource path="res://addons/dialogic/Images/Tutorials/arrow-down.svg" type="Texture" id=13]
16
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/wait-seconds.svg" type="Texture" id=14]
17
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/change-scene.svg" type="Texture" id=15]
18
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/emit-signal.svg" type="Texture" id=16]
19 19
 [ext_resource path="res://addons/dialogic/Editor/TimelineEditor/TimelineEditor.gd" type="Script" id=17]
20
-[ext_resource path="res://addons/dialogic/Images/theme.svg" type="Texture" id=18]
21
-[ext_resource path="res://addons/dialogic/Images/Events/background-music.svg" type="Texture" id=19]
22
-[ext_resource path="res://addons/dialogic/Images/Script.svg" type="Texture" id=20]
20
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/set-theme.svg" type="Texture" id=18]
21
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/background-music.svg" type="Texture" id=19]
22
+[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/call-node.svg" type="Texture" id=20]
23 23
 [ext_resource path="res://addons/dialogic/Editor/TimelineEditor/EventButton.gd" type="Script" id=21]
24 24
 [ext_resource path="res://addons/dialogic/Editor/TimelineEditor/TimelineArea.gd" type="Script" id=22]
25 25
 
26
+
26 27
 [sub_resource type="StyleBoxFlat" id=1]
27 28
 content_margin_left = 5.0
28 29
 content_margin_right = 5.0

+ 7
- 0
addons/dialogic/Example Assets/Fonts/DefaultFont.tres View File

@@ -0,0 +1,7 @@
1
+[gd_resource type="DynamicFont" load_steps=2 format=2]
2
+
3
+[ext_resource path="res://addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Black.ttf" type="DynamicFontData" id=1]
4
+
5
+[resource]
6
+size = 30
7
+font_data = ExtResource( 1 )

+ 7
- 0
addons/dialogic/Example Assets/Fonts/GlossaryFont.tres View File

@@ -0,0 +1,7 @@
1
+[gd_resource type="DynamicFont" load_steps=2 format=2]
2
+
3
+[ext_resource path="res://addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Black.ttf" type="DynamicFontData" id=1]
4
+
5
+[resource]
6
+size = 20
7
+font_data = ExtResource( 1 )

addons/dialogic/Fonts/Overlock/OFL.txt → addons/dialogic/Example Assets/Fonts/Overlock/OFL.txt View File


addons/dialogic/Fonts/Overlock/Overlock-Black.ttf → addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Black.ttf View File


addons/dialogic/Fonts/Overlock/Overlock-BlackItalic.ttf → addons/dialogic/Example Assets/Fonts/Overlock/Overlock-BlackItalic.ttf View File


addons/dialogic/Fonts/Overlock/Overlock-Bold.ttf → addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Bold.ttf View File


addons/dialogic/Fonts/Overlock/Overlock-BoldItalic.ttf → addons/dialogic/Example Assets/Fonts/Overlock/Overlock-BoldItalic.ttf View File


addons/dialogic/Fonts/Overlock/Overlock-Italic.ttf → addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Italic.ttf View File


addons/dialogic/Fonts/Overlock/Overlock-Regular.ttf → addons/dialogic/Example Assets/Fonts/Overlock/Overlock-Regular.ttf View File


addons/dialogic/Fonts/Overlock/Overlock.tres → addons/dialogic/Example Assets/Fonts/Overlock/Overlock.tres View File


addons/dialogic/Images/background/background-1.png → addons/dialogic/Example Assets/backgrounds/background-1.png View File


addons/dialogic/Images/background/background-1.png.import → addons/dialogic/Example Assets/backgrounds/background-1.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/background-1.png-89282dbd6f94191cf4f5c810a2ffab77.stex"
5
+path="res://.import/background-1.png-1fc779d8fd5d0bc2346042b70def9109.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/background/background-1.png"
13
-dest_files=[ "res://.import/background-1.png-89282dbd6f94191cf4f5c810a2ffab77.stex" ]
12
+source_file="res://addons/dialogic/Example Assets/backgrounds/background-1.png"
13
+dest_files=[ "res://.import/background-1.png-1fc779d8fd5d0bc2346042b70def9109.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/background/background-2.png → addons/dialogic/Example Assets/backgrounds/background-2.png View File


addons/dialogic/Images/background/background-2.png.import → addons/dialogic/Example Assets/backgrounds/background-2.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/background-2.png-c129b8b6b93cd7712f1146bde9cee0bf.stex"
5
+path="res://.import/background-2.png-16cefbac02f843f04a3346ffecedf6b6.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/background/background-2.png"
13
-dest_files=[ "res://.import/background-2.png-c129b8b6b93cd7712f1146bde9cee0bf.stex" ]
12
+source_file="res://addons/dialogic/Example Assets/backgrounds/background-2.png"
13
+dest_files=[ "res://.import/background-2.png-16cefbac02f843f04a3346ffecedf6b6.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/next-indicator.png → addons/dialogic/Example Assets/next-indicator/next-indicator.png View File


addons/dialogic/Images/next-indicator.png.import → addons/dialogic/Example Assets/next-indicator/next-indicator.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/next-indicator.png-b9557c1efa1b225e5de6bb92bce11943.stex"
5
+path="res://.import/next-indicator.png-e3b7b80d9da791a1d0a061a728b6f781.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/next-indicator.png"
13
-dest_files=[ "res://.import/next-indicator.png-b9557c1efa1b225e5de6bb92bce11943.stex" ]
12
+source_file="res://addons/dialogic/Example Assets/next-indicator/next-indicator.png"
13
+dest_files=[ "res://.import/next-indicator.png-e3b7b80d9da791a1d0a061a728b6f781.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/portraits/df-1.png → addons/dialogic/Example Assets/portraits/df-1.png View File


addons/dialogic/Images/portraits/df-1.png.import → addons/dialogic/Example Assets/portraits/df-1.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/df-1.png-6175322ef18a2f4fb7b65fe08bff68d0.stex"
5
+path="res://.import/df-1.png-dd38cabf6782fa8ec6317d8193b3bb58.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/portraits/df-1.png"
13
-dest_files=[ "res://.import/df-1.png-6175322ef18a2f4fb7b65fe08bff68d0.stex" ]
12
+source_file="res://addons/dialogic/Example Assets/portraits/df-1.png"
13
+dest_files=[ "res://.import/df-1.png-dd38cabf6782fa8ec6317d8193b3bb58.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/portraits/df-2.png → addons/dialogic/Example Assets/portraits/df-2.png View File


addons/dialogic/Images/portraits/df-2.png.import → addons/dialogic/Example Assets/portraits/df-2.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/df-2.png-f6b53b46f9b25bdd84c1d6e81deed6c2.stex"
5
+path="res://.import/df-2.png-6e4167303060ad7b046acda78c51329c.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/portraits/df-2.png"
13
-dest_files=[ "res://.import/df-2.png-f6b53b46f9b25bdd84c1d6e81deed6c2.stex" ]
12
+source_file="res://addons/dialogic/Example Assets/portraits/df-2.png"
13
+dest_files=[ "res://.import/df-2.png-6e4167303060ad7b046acda78c51329c.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/portraits/df-3.png → addons/dialogic/Example Assets/portraits/df-3.png View File


addons/dialogic/Images/portraits/df-3.png.import → addons/dialogic/Example Assets/portraits/df-3.png.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/df-3.png-6a749eca45736cdcf574fd90eead4619.stex"
5
+path="res://.import/df-3.png-e1bbeb9edcf0b295ecce73d91ad4c986.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/portraits/df-3.png"
13
-dest_files=[ "res://.import/df-3.png-6a749eca45736cdcf574fd90eead4619.stex" ]
12
+source_file="res://addons/dialogic/Example Assets/portraits/df-3.png"
13
+dest_files=[ "res://.import/df-3.png-e1bbeb9edcf0b295ecce73d91ad4c986.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 0
- 8
addons/dialogic/Fonts/DefaultFont.tres View File

@@ -1,8 +0,0 @@
1
-[gd_resource type="DynamicFont" load_steps=2 format=2]
2
-
3
-[sub_resource type="DynamicFontData" id=1]
4
-font_path = "res://addons/dialogic/Fonts/Overlock/Overlock-Black.ttf"
5
-
6
-[resource]
7
-size = 30
8
-font_data = SubResource( 1 )

+ 0
- 8
addons/dialogic/Fonts/GlossaryFont.tres View File

@@ -1,8 +0,0 @@
1
-[gd_resource type="DynamicFont" load_steps=2 format=2]
2
-
3
-[sub_resource type="DynamicFontData" id=1]
4
-font_path = "res://addons/dialogic/Fonts/Overlock/Overlock-Black.ttf"
5
-
6
-[resource]
7
-size = 20
8
-font_data = SubResource( 1 )

+ 0
- 1
addons/dialogic/Images/Add.svg View File

@@ -1 +0,0 @@
1
-<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m7 1v6h-6v2h6v6h2v-6h6v-2h-6v-6z" fill="#e0e0e0"/></svg>

addons/dialogic/Images/ActionCopy.svg → addons/dialogic/Images/Context Menus/ActionCopy.svg View File


addons/dialogic/Images/ActionCopy.svg.import → addons/dialogic/Images/Context Menus/ActionCopy.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/ActionCopy.svg-63402671dac0d39077ea78c09fc673aa.stex"
5
+path="res://.import/ActionCopy.svg-5b4013a70fecebd29760cea7953f7539.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/ActionCopy.svg"
13
-dest_files=[ "res://.import/ActionCopy.svg-63402671dac0d39077ea78c09fc673aa.stex" ]
12
+source_file="res://addons/dialogic/Images/Context Menus/ActionCopy.svg"
13
+dest_files=[ "res://.import/ActionCopy.svg-5b4013a70fecebd29760cea7953f7539.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/Filesystem.svg → addons/dialogic/Images/Context Menus/Filesystem.svg View File


addons/dialogic/Images/Filesystem.svg.import → addons/dialogic/Images/Context Menus/Filesystem.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/Filesystem.svg-a3ca74f9d2cdc62927955e2f99c73ac1.stex"
5
+path="res://.import/Filesystem.svg-1b4be5705e8cf2dba5ed5377977d1221.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/Filesystem.svg"
13
-dest_files=[ "res://.import/Filesystem.svg-a3ca74f9d2cdc62927955e2f99c73ac1.stex" ]
12
+source_file="res://addons/dialogic/Images/Context Menus/Filesystem.svg"
13
+dest_files=[ "res://.import/Filesystem.svg-1b4be5705e8cf2dba5ed5377977d1221.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/Remove.svg → addons/dialogic/Images/Context Menus/Remove.svg View File


addons/dialogic/Images/Remove.svg.import → addons/dialogic/Images/Context Menus/Remove.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/Remove.svg-5fdf7012a90fe887e73fc55cb69bdaf2.stex"
5
+path="res://.import/Remove.svg-e6ac0bc0ace4deeae8709012158798f8.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/Remove.svg"
13
-dest_files=[ "res://.import/Remove.svg-5fdf7012a90fe887e73fc55cb69bdaf2.stex" ]
12
+source_file="res://addons/dialogic/Images/Context Menus/Remove.svg"
13
+dest_files=[ "res://.import/Remove.svg-e6ac0bc0ace4deeae8709012158798f8.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/Events/audio-event.svg → addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg View File


+ 34
- 0
addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg.import View File

@@ -0,0 +1,34 @@
1
+[remap]
2
+
3
+importer="texture"
4
+type="StreamTexture"
5
+path="res://.import/audio-event.svg-d192398662daf4684b0a1cb09391d1c1.stex"
6
+metadata={
7
+"vram_texture": false
8
+}
9
+
10
+[deps]
11
+
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg"
13
+dest_files=[ "res://.import/audio-event.svg-d192398662daf4684b0a1cb09391d1c1.stex" ]
14
+
15
+[params]
16
+
17
+compress/mode=0
18
+compress/lossy_quality=0.7
19
+compress/hdr_mode=0
20
+compress/bptc_ldr=0
21
+compress/normal_map=0
22
+flags/repeat=0
23
+flags/filter=true
24
+flags/mipmaps=false
25
+flags/anisotropic=false
26
+flags/srgb=2
27
+process/fix_alpha_border=true
28
+process/premult_alpha=false
29
+process/HDR_as_SRGB=false
30
+process/invert_color=false
31
+stream=false
32
+size_limit=0
33
+detect_3d=true
34
+svg/scale=1.0

addons/dialogic/Images/Events/background-music.svg → addons/dialogic/Images/Event Icons/Main Icons/background-music.svg View File


addons/dialogic/Images/Events/background-music.svg.import → addons/dialogic/Images/Event Icons/Main Icons/background-music.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/background-music.svg-ce4f516e1adc748da06ba03cfc5f5aea.stex"
5
+path="res://.import/background-music.svg-ed735c7eb8946611ace4908d8c03f881.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/Events/background-music.svg"
13
-dest_files=[ "res://.import/background-music.svg-ce4f516e1adc748da06ba03cfc5f5aea.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/background-music.svg"
13
+dest_files=[ "res://.import/background-music.svg-ed735c7eb8946611ace4908d8c03f881.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/Script.svg → addons/dialogic/Images/Event Icons/Main Icons/call-node.svg View File


addons/dialogic/Images/Add.svg.import → addons/dialogic/Images/Event Icons/Main Icons/call-node.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/Add.svg-841b9d99eb0e55333201a7ce23318272.stex"
5
+path="res://.import/call-node.svg-18ac09155d5b32a52ebd8691a3af4366.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/Add.svg"
13
-dest_files=[ "res://.import/Add.svg-841b9d99eb0e55333201a7ce23318272.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/call-node.svg"
13
+dest_files=[ "res://.import/call-node.svg-18ac09155d5b32a52ebd8691a3af4366.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/Events/change-scene.svg → addons/dialogic/Images/Event Icons/Main Icons/change-scene.svg View File


addons/dialogic/Images/Events/change-scene.svg.import → addons/dialogic/Images/Event Icons/Main Icons/change-scene.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/change-scene.svg-4ec53c6e2be3e1a24d1aeb9767277503.stex"
5
+path="res://.import/change-scene.svg-6725a8049733078ddbd90a4b2658171a.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/Events/change-scene.svg"
13
-dest_files=[ "res://.import/change-scene.svg-4ec53c6e2be3e1a24d1aeb9767277503.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/change-scene.svg"
13
+dest_files=[ "res://.import/change-scene.svg-6725a8049733078ddbd90a4b2658171a.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/Events/change-timeline.svg → addons/dialogic/Images/Event Icons/Main Icons/change-timeline.svg View File


addons/dialogic/Images/Events/change-timeline.svg.import → addons/dialogic/Images/Event Icons/Main Icons/change-timeline.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/change-timeline.svg-6aceaf7d093889feea334bbe4350d8be.stex"
5
+path="res://.import/change-timeline.svg-3fc1cb78cceef83db78cae34f53baa54.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/Events/change-timeline.svg"
13
-dest_files=[ "res://.import/change-timeline.svg-6aceaf7d093889feea334bbe4350d8be.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/change-timeline.svg"
13
+dest_files=[ "res://.import/change-timeline.svg-3fc1cb78cceef83db78cae34f53baa54.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/character-join.svg → addons/dialogic/Images/Event Icons/Main Icons/character-join.svg View File


addons/dialogic/Images/character-join.svg.import → addons/dialogic/Images/Event Icons/Main Icons/character-join.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/character-join.svg-b66498656c09188cb8737cd2176ed71b.stex"
5
+path="res://.import/character-join.svg-21df5cf0ef16cc4703da536cc0ba7600.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/character-join.svg"
13
-dest_files=[ "res://.import/character-join.svg-b66498656c09188cb8737cd2176ed71b.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/character-join.svg"
13
+dest_files=[ "res://.import/character-join.svg-21df5cf0ef16cc4703da536cc0ba7600.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/character-leave.svg → addons/dialogic/Images/Event Icons/Main Icons/character-leave.svg View File


addons/dialogic/Images/character-leave.svg.import → addons/dialogic/Images/Event Icons/Main Icons/character-leave.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/character-leave.svg-fa5c9db1ebb7a3a9e823282043434e43.stex"
5
+path="res://.import/character-leave.svg-2d2e80f905152be7ba982e5eab07041e.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/character-leave.svg"
13
-dest_files=[ "res://.import/character-leave.svg-fa5c9db1ebb7a3a9e823282043434e43.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/character-leave.svg"
13
+dest_files=[ "res://.import/character-leave.svg-2d2e80f905152be7ba982e5eab07041e.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/choice.svg → addons/dialogic/Images/Event Icons/Main Icons/choice.svg View File


addons/dialogic/Images/choice.svg.import → addons/dialogic/Images/Event Icons/Main Icons/choice.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/choice.svg-26dddb0fed66728e82adce1daf345c4f.stex"
5
+path="res://.import/choice.svg-13eab5623c86309807d0cbedab2ce888.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/choice.svg"
13
-dest_files=[ "res://.import/choice.svg-26dddb0fed66728e82adce1daf345c4f.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/choice.svg"
13
+dest_files=[ "res://.import/choice.svg-13eab5623c86309807d0cbedab2ce888.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/end-dialog.svg → addons/dialogic/Images/Event Icons/Main Icons/close-dialog.svg View File


+ 34
- 0
addons/dialogic/Images/Event Icons/Main Icons/close-dialog.svg.import View File

@@ -0,0 +1,34 @@
1
+[remap]
2
+
3
+importer="texture"
4
+type="StreamTexture"
5
+path="res://.import/close-dialog.svg-bb378589acef276803372ba9bd39145a.stex"
6
+metadata={
7
+"vram_texture": false
8
+}
9
+
10
+[deps]
11
+
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/close-dialog.svg"
13
+dest_files=[ "res://.import/close-dialog.svg-bb378589acef276803372ba9bd39145a.stex" ]
14
+
15
+[params]
16
+
17
+compress/mode=0
18
+compress/lossy_quality=0.7
19
+compress/hdr_mode=0
20
+compress/bptc_ldr=0
21
+compress/normal_map=0
22
+flags/repeat=0
23
+flags/filter=true
24
+flags/mipmaps=false
25
+flags/anisotropic=false
26
+flags/srgb=2
27
+process/fix_alpha_border=true
28
+process/premult_alpha=false
29
+process/HDR_as_SRGB=false
30
+process/invert_color=false
31
+stream=false
32
+size_limit=0
33
+detect_3d=true
34
+svg/scale=1.0

addons/dialogic/Images/condition.svg → addons/dialogic/Images/Event Icons/Main Icons/condition.svg View File


addons/dialogic/Images/condition.svg.import → addons/dialogic/Images/Event Icons/Main Icons/condition.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/condition.svg-409d02a4c99bed93635eb7b1175e09f2.stex"
5
+path="res://.import/condition.svg-9263ad20f1666fc3284ae39867031dd1.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/condition.svg"
13
-dest_files=[ "res://.import/condition.svg-409d02a4c99bed93635eb7b1175e09f2.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/condition.svg"
13
+dest_files=[ "res://.import/condition.svg-9263ad20f1666fc3284ae39867031dd1.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/signal.svg → addons/dialogic/Images/Event Icons/Main Icons/emit-signal.svg View File


+ 34
- 0
addons/dialogic/Images/Event Icons/Main Icons/emit-signal.svg.import View File

@@ -0,0 +1,34 @@
1
+[remap]
2
+
3
+importer="texture"
4
+type="StreamTexture"
5
+path="res://.import/emit-signal.svg-e7476cdba0b41b81b70ecd21f85b0b2f.stex"
6
+metadata={
7
+"vram_texture": false
8
+}
9
+
10
+[deps]
11
+
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/emit-signal.svg"
13
+dest_files=[ "res://.import/emit-signal.svg-e7476cdba0b41b81b70ecd21f85b0b2f.stex" ]
14
+
15
+[params]
16
+
17
+compress/mode=0
18
+compress/lossy_quality=0.7
19
+compress/hdr_mode=0
20
+compress/bptc_ldr=0
21
+compress/normal_map=0
22
+flags/repeat=0
23
+flags/filter=true
24
+flags/mipmaps=false
25
+flags/anisotropic=false
26
+flags/srgb=2
27
+process/fix_alpha_border=true
28
+process/premult_alpha=false
29
+process/HDR_as_SRGB=false
30
+process/invert_color=false
31
+stream=false
32
+size_limit=0
33
+detect_3d=true
34
+svg/scale=1.0

addons/dialogic/Images/end-choice.svg → addons/dialogic/Images/Event Icons/Main Icons/end-branch.svg View File


+ 34
- 0
addons/dialogic/Images/Event Icons/Main Icons/end-branch.svg.import View File

@@ -0,0 +1,34 @@
1
+[remap]
2
+
3
+importer="texture"
4
+type="StreamTexture"
5
+path="res://.import/end-branch.svg-393dc31ec86d0bbd6ec737e9a12197f7.stex"
6
+metadata={
7
+"vram_texture": false
8
+}
9
+
10
+[deps]
11
+
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/end-branch.svg"
13
+dest_files=[ "res://.import/end-branch.svg-393dc31ec86d0bbd6ec737e9a12197f7.stex" ]
14
+
15
+[params]
16
+
17
+compress/mode=0
18
+compress/lossy_quality=0.7
19
+compress/hdr_mode=0
20
+compress/bptc_ldr=0
21
+compress/normal_map=0
22
+flags/repeat=0
23
+flags/filter=true
24
+flags/mipmaps=false
25
+flags/anisotropic=false
26
+flags/srgb=2
27
+process/fix_alpha_border=true
28
+process/premult_alpha=false
29
+process/HDR_as_SRGB=false
30
+process/invert_color=false
31
+stream=false
32
+size_limit=0
33
+detect_3d=true
34
+svg/scale=1.0

addons/dialogic/Images/question.svg → addons/dialogic/Images/Event Icons/Main Icons/question.svg View File


addons/dialogic/Images/question.svg.import → addons/dialogic/Images/Event Icons/Main Icons/question.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/question.svg-bf5ae2a36e0a1da2ab2969033f16641c.stex"
5
+path="res://.import/question.svg-e8715956b6df35b64adef0a9d414d62b.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/question.svg"
13
-dest_files=[ "res://.import/question.svg-bf5ae2a36e0a1da2ab2969033f16641c.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/question.svg"
13
+dest_files=[ "res://.import/question.svg-e8715956b6df35b64adef0a9d414d62b.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/Events/scene.svg → addons/dialogic/Images/Event Icons/Main Icons/scene event.svg View File


+ 34
- 0
addons/dialogic/Images/Event Icons/Main Icons/scene event.svg.import View File

@@ -0,0 +1,34 @@
1
+[remap]
2
+
3
+importer="texture"
4
+type="StreamTexture"
5
+path="res://.import/scene event.svg-ccb4261fbe75c7865b6b03f3b71ac8c6.stex"
6
+metadata={
7
+"vram_texture": false
8
+}
9
+
10
+[deps]
11
+
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/scene event.svg"
13
+dest_files=[ "res://.import/scene event.svg-ccb4261fbe75c7865b6b03f3b71ac8c6.stex" ]
14
+
15
+[params]
16
+
17
+compress/mode=0
18
+compress/lossy_quality=0.7
19
+compress/hdr_mode=0
20
+compress/bptc_ldr=0
21
+compress/normal_map=0
22
+flags/repeat=0
23
+flags/filter=true
24
+flags/mipmaps=false
25
+flags/anisotropic=false
26
+flags/srgb=2
27
+process/fix_alpha_border=true
28
+process/premult_alpha=false
29
+process/HDR_as_SRGB=false
30
+process/invert_color=false
31
+stream=false
32
+size_limit=0
33
+detect_3d=true
34
+svg/scale=1.0

addons/dialogic/Images/theme.svg → addons/dialogic/Images/Event Icons/Main Icons/set-theme.svg View File


addons/dialogic/Images/Events/Wait.svg.import → addons/dialogic/Images/Event Icons/Main Icons/set-theme.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/Wait.svg-967925959cce4f8e3ee840598b69a612.stex"
5
+path="res://.import/set-theme.svg-1d90327d314f7032240973a0de491cbf.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/Events/Wait.svg"
13
-dest_files=[ "res://.import/Wait.svg-967925959cce4f8e3ee840598b69a612.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/set-theme.svg"
13
+dest_files=[ "res://.import/set-theme.svg-1d90327d314f7032240973a0de491cbf.stex" ]
14 14
 
15 15
 [params]
16 16
 

+ 3
- 0
addons/dialogic/Images/Event Icons/Main Icons/set-value.svg View File

@@ -0,0 +1,3 @@
1
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+<path d="M13.9645 2.62927L12.8459 5.22444C12.6271 5.04546 12.3835 4.89134 12.1151 4.76208C11.8565 4.62287 11.5881 4.55327 11.3097 4.55327C11.0909 4.55327 10.8821 4.59802 10.6832 4.68751C10.4943 4.77699 10.3203 4.89631 10.1612 5.04546C10.0021 5.19461 9.86293 5.36364 9.74361 5.55256C9.6243 5.73154 9.52486 5.91052 9.44532 6.08949L9.14702 6.93964C9.35583 7.37714 9.55966 7.79475 9.75853 8.19248C9.92756 8.53055 10.1016 8.87359 10.2805 9.2216C10.4595 9.55966 10.6087 9.82813 10.728 10.027C10.9169 10.3153 11.1058 10.6136 11.2948 10.9219C11.4837 11.2202 11.6925 11.4936 11.9212 11.7422C12.0206 11.8516 12.1399 11.9261 12.2791 11.9659C12.4283 11.9957 12.5625 12.0107 12.6818 12.0107C12.8707 12.0107 13.0497 11.9858 13.2188 11.9361C13.3878 11.8864 13.5469 11.8217 13.696 11.7422L14.0689 12.2195C13.9297 12.4382 13.7607 12.657 13.5618 12.8757C13.3629 13.0945 13.1442 13.2933 12.9055 13.4723C12.6769 13.6513 12.4283 13.7955 12.1598 13.9048C11.9013 14.0242 11.6378 14.0838 11.3693 14.0838C11.1307 14.0838 10.9169 14.044 10.728 13.9645C10.549 13.8949 10.3849 13.8004 10.2358 13.6811C10.0867 13.5519 9.94745 13.4027 9.81819 13.2337C9.68893 13.0646 9.55469 12.8906 9.41549 12.7117C9.30611 12.5426 9.1868 12.3388 9.05753 12.1001C8.93822 11.8516 8.81393 11.598 8.68466 11.3395C8.5554 11.081 8.42614 10.8324 8.29688 10.5938C8.16762 10.3452 8.04333 10.1364 7.92401 9.96734C7.8743 10.1364 7.82955 10.3054 7.78978 10.4744C7.75001 10.6136 7.70526 10.7578 7.65555 10.907C7.60583 11.0561 7.56109 11.1705 7.52131 11.25C7.37216 11.5682 7.18324 11.8963 6.95455 12.2344C6.72586 12.5724 6.46236 12.8807 6.16407 13.1591C5.87572 13.4276 5.55753 13.6513 5.20952 13.8303C4.86151 13.9993 4.49361 14.0838 4.10583 14.0838C3.75782 14.0838 3.41975 14.0142 3.09162 13.875C2.7635 13.7457 2.46023 13.5717 2.18182 13.353L3.12145 10.8771C3.43964 11.076 3.78765 11.255 4.16549 11.4141C4.54333 11.5632 4.92117 11.6378 5.29901 11.6378C5.41833 11.6378 5.54262 11.6278 5.67188 11.608C5.80114 11.5781 5.92543 11.5384 6.04475 11.4886C6.17401 11.429 6.28836 11.3594 6.38779 11.2798C6.48722 11.1903 6.5618 11.0859 6.61151 10.9666C6.68111 10.8374 6.75569 10.6683 6.83523 10.4595C6.91478 10.2507 6.99432 10.0419 7.07387 9.8331C7.16336 9.59447 7.25285 9.34091 7.34234 9.07245L4.53836 4.5831C4.4091 4.43395 4.25001 4.31464 4.06109 4.22515C3.88211 4.12572 3.69319 4.076 3.49432 4.076C3.32529 4.076 3.1662 4.1108 3.01705 4.1804C2.8679 4.24006 2.72373 4.32458 2.58452 4.43395L2.18182 3.91194C2.32103 3.70313 2.48509 3.4993 2.67401 3.30043C2.87287 3.09162 3.08665 2.90768 3.31535 2.74859C3.54404 2.57955 3.78765 2.44532 4.04617 2.34589C4.30469 2.23651 4.56819 2.18182 4.83665 2.18182C5.16478 2.18182 5.46805 2.26634 5.74645 2.43537C6.02486 2.59447 6.28339 2.79333 6.52202 3.03197C6.76066 3.2706 6.97941 3.52912 7.17827 3.80753C7.37714 4.08594 7.55611 4.34447 7.7152 4.5831C7.79475 4.69248 7.87927 4.83168 7.96876 5.00072C8.06819 5.15981 8.16265 5.3189 8.25214 5.47799C8.36151 5.65697 8.46591 5.85086 8.56535 6.05966C8.66478 5.82103 8.76918 5.58239 8.87856 5.34376C8.96805 5.14489 9.05753 4.94106 9.14702 4.73225C9.24645 4.5135 9.33594 4.32458 9.41549 4.16549C9.56464 3.88708 9.73367 3.62856 9.92259 3.38992C10.1115 3.15128 10.3203 2.94248 10.549 2.7635C10.7876 2.58452 11.0462 2.44532 11.3246 2.34589C11.603 2.23651 11.9063 2.18182 12.2344 2.18182C12.5426 2.18182 12.8409 2.2216 13.1293 2.30114C13.4176 2.38069 13.696 2.49006 13.9645 2.62927Z" fill="white"/>
3
+</svg>

addons/dialogic/Images/Events/set-value.svg.import → addons/dialogic/Images/Event Icons/Main Icons/set-value.svg.import View File

@@ -2,15 +2,15 @@
2 2
 
3 3
 importer="texture"
4 4
 type="StreamTexture"
5
-path="res://.import/set-value.svg-a9ffb569c3bc80942d1fddebebfaa118.stex"
5
+path="res://.import/set-value.svg-6fb3742ed5c2df51d2350fc9d9c789b0.stex"
6 6
 metadata={
7 7
 "vram_texture": false
8 8
 }
9 9
 
10 10
 [deps]
11 11
 
12
-source_file="res://addons/dialogic/Images/Events/set-value.svg"
13
-dest_files=[ "res://.import/set-value.svg-a9ffb569c3bc80942d1fddebebfaa118.stex" ]
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/set-value.svg"
13
+dest_files=[ "res://.import/set-value.svg-6fb3742ed5c2df51d2350fc9d9c789b0.stex" ]
14 14
 
15 15
 [params]
16 16
 

addons/dialogic/Images/dialog.svg → addons/dialogic/Images/Event Icons/Main Icons/text-event.svg View File


+ 34
- 0
addons/dialogic/Images/Event Icons/Main Icons/text-event.svg.import View File

@@ -0,0 +1,34 @@
1
+[remap]
2
+
3
+importer="texture"
4
+type="StreamTexture"
5
+path="res://.import/text-event.svg-c2eab2588af7e9e8b6272730719be2c6.stex"
6
+metadata={
7
+"vram_texture": false
8
+}
9
+
10
+[deps]
11
+
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/text-event.svg"
13
+dest_files=[ "res://.import/text-event.svg-c2eab2588af7e9e8b6272730719be2c6.stex" ]
14
+
15
+[params]
16
+
17
+compress/mode=0
18
+compress/lossy_quality=0.7
19
+compress/hdr_mode=0
20
+compress/bptc_ldr=0
21
+compress/normal_map=0
22
+flags/repeat=0
23
+flags/filter=true
24
+flags/mipmaps=false
25
+flags/anisotropic=false
26
+flags/srgb=2
27
+process/fix_alpha_border=true
28
+process/premult_alpha=false
29
+process/HDR_as_SRGB=false
30
+process/invert_color=false
31
+stream=false
32
+size_limit=0
33
+detect_3d=true
34
+svg/scale=1.0

addons/dialogic/Images/Events/Wait.svg → addons/dialogic/Images/Event Icons/Main Icons/wait-seconds.svg View File


+ 34
- 0
addons/dialogic/Images/Event Icons/Main Icons/wait-seconds.svg.import View File

@@ -0,0 +1,34 @@
1
+[remap]
2
+
3
+importer="texture"
4
+type="StreamTexture"
5
+path="res://.import/wait-seconds.svg-bfe0671e761c4874421ab49eb39943d7.stex"
6
+metadata={
7
+"vram_texture": false
8
+}
9
+
10
+[deps]
11
+
12
+source_file="res://addons/dialogic/Images/Event Icons/Main Icons/wait-seconds.svg"
13
+dest_files=[ "res://.import/wait-seconds.svg-bfe0671e761c4874421ab49eb39943d7.stex" ]
14
+
15
+[params]
16
+
17
+compress/mode=0
18
+compress/lossy_quality=0.7
19
+compress/hdr_mode=0
20
+compress/bptc_ldr=0
21
+compress/normal_map=0
22
+flags/repeat=0
23
+flags/filter=true
24
+flags/mipmaps=false
25
+flags/anisotropic=false
26
+flags/srgb=2
27
+process/fix_alpha_border=true
28
+process/premult_alpha=false
29
+process/HDR_as_SRGB=false
30
+process/invert_color=false
31
+stream=false
32
+size_limit=0
33
+detect_3d=true
34
+svg/scale=1.0

addons/dialogic/Images/Portrait.svg → addons/dialogic/Images/Event Icons/Portrait.svg View File


addons/dialogic/Images/Portrait.svg.import → addons/dialogic/Images/Event Icons/Portrait.svg.import View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save