Add main menu logic

This commit is contained in:
Arnaud Vergnet 2021-04-10 18:29:03 +02:00
parent 83258ccaab
commit e14eb9eb1d
150 changed files with 1880 additions and 1547 deletions

View file

@ -1,9 +1,9 @@
[gd_scene load_steps=14 format=2]
[ext_resource path="res://addons/dialogic/Images/next-indicator.png" type="Texture" id=1]
[ext_resource path="res://addons/dialogic/Images/background/background-2.png" type="Texture" id=2]
[ext_resource path="res://addons/dialogic/Fonts/DefaultFont.tres" type="DynamicFont" id=3]
[ext_resource path="res://addons/dialogic/Fonts/GlossaryFont.tres" type="DynamicFont" id=4]
[ext_resource path="res://addons/dialogic/Example Assets/next-indicator/next-indicator.png" type="Texture" id=1]
[ext_resource path="res://addons/dialogic/Example Assets/backgrounds/background-2.png" type="Texture" id=2]
[ext_resource path="res://addons/dialogic/Example Assets/Fonts/DefaultFont.tres" type="DynamicFont" id=3]
[ext_resource path="res://addons/dialogic/Example Assets/Fonts/GlossaryFont.tres" type="DynamicFont" id=4]
[ext_resource path="res://addons/dialogic/Nodes/glossary_info.gd" type="Script" id=5]
[ext_resource path="res://addons/dialogic/Nodes/dialog_node.gd" type="Script" id=6]
[ext_resource path="res://addons/dialogic/Nodes/BackgroundMusic.tscn" type="PackedScene" id=7]
@ -87,9 +87,9 @@ anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -250.0
margin_left = -455.0
margin_top = -207.0
margin_right = 250.0
margin_right = 455.0
margin_bottom = -40.0
__meta__ = {
"_edit_use_anchors_": false
@ -145,7 +145,7 @@ anchor_bottom = 1.0
margin_left = -36.4279
margin_top = -35.9016
margin_right = 14.5721
margin_bottom = 29.4015
margin_bottom = 25.4599
rect_scale = Vector2( 0.4, 0.4 )
texture = ExtResource( 1 )
stretch_mode = 4
@ -203,6 +203,17 @@ __meta__ = {
[node name="Tween" type="Tween" parent="TextBubble"]
[node name="CloseDialog" type="Control" parent="TextBubble"]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Tween" type="Tween" parent="TextBubble/CloseDialog"]
[node name="Timer" type="Timer" parent="TextBubble/CloseDialog"]
[node name="Options" type="VBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
@ -340,7 +351,6 @@ __meta__ = {
[node name="Timer" type="Timer" parent="DefinitionInfo"]
[node name="WaitSeconds" type="Timer" parent="."]
[connection signal="meta_hover_ended" from="TextBubble/RichTextLabel" to="." method="_on_RichTextLabel_meta_hover_ended"]
[connection signal="meta_hover_started" from="TextBubble/RichTextLabel" to="." method="_on_RichTextLabel_meta_hover_started"]
[connection signal="timeout" from="DefinitionInfo/Timer" to="." method="_on_Definition_Timer_timeout"]

View file

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

View file

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

View file

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

View file

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

View file

@ -1,11 +1,9 @@
[gd_scene load_steps=8 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://addons/dialogic/Editor/Pieces/AudioBlock.gd" type="Script" id=1]
[ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/dialogic/Images/Events/audio-event.svg" type="Texture" id=3]
[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg" type="Texture" id=3]
[ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/dialogic/Images/play.svg" type="Texture" id=5]
[ext_resource path="res://addons/dialogic/Images/Remove.svg" type="Texture" id=7]
[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 16.0
@ -86,17 +84,15 @@ text = "..."
[node name="ButtonClear" type="Button" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 384.0
margin_right = 396.0
margin_bottom = 28.0
disabled = true
[node name="ButtonPreviewPlay" type="Button" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 400.0
margin_right = 412.0
margin_bottom = 28.0
disabled = true
icon = ExtResource( 7 )
[node name="ButtonPreviewPlay" type="Button" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 416.0
margin_right = 450.0
margin_bottom = 28.0
disabled = true
icon = ExtResource( 5 )
[node name="Preview" type="Label" parent="PanelContainer/VBoxContainer/Header"]
visible = false
@ -108,7 +104,7 @@ custom_colors/font_color = Color( 1, 1, 1, 0.513726 )
text = " ..."
[node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 2 )]
margin_left = 454.0
margin_left = 416.0
margin_right = 1735.0
margin_bottom = 28.0
@ -119,6 +115,7 @@ margin_bottom = 28.0
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 ]
[node name="AudioPreview" type="AudioStreamPlayer" parent="PanelContainer"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonAudio" to="." method="_on_ButtonAudio_pressed"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonClear" to="." method="_on_ButtonClear_pressed"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonPreviewPlay" to="." method="_on_ButtonPreviewPlay_pressed"]

View file

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

View file

@ -1,11 +1,9 @@
[gd_scene load_steps=8 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://addons/dialogic/Editor/Pieces/BackgroundMusic.gd" type="Script" id=1]
[ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/dialogic/Images/Events/background-music.svg" type="Texture" id=3]
[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/background-music.svg" type="Texture" id=3]
[ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/dialogic/Images/play.svg" type="Texture" id=5]
[ext_resource path="res://addons/dialogic/Images/Remove.svg" type="Texture" id=7]
[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 16.0
@ -86,17 +84,15 @@ text = "..."
[node name="ButtonClear" type="Button" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 400.0
margin_right = 412.0
margin_bottom = 28.0
disabled = true
[node name="ButtonPreviewPlay" type="Button" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 416.0
margin_right = 428.0
margin_bottom = 28.0
disabled = true
icon = ExtResource( 7 )
[node name="ButtonPreviewPlay" type="Button" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 432.0
margin_right = 466.0
margin_bottom = 28.0
disabled = true
icon = ExtResource( 5 )
[node name="Preview" type="Label" parent="PanelContainer/VBoxContainer/Header"]
visible = false
@ -108,7 +104,7 @@ custom_colors/font_color = Color( 1, 1, 1, 0.513726 )
text = " ..."
[node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 2 )]
margin_left = 470.0
margin_left = 432.0
margin_right = 1735.0
margin_bottom = 28.0
@ -119,6 +115,7 @@ margin_bottom = 28.0
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 ]
[node name="AudioPreview" type="AudioStreamPlayer" parent="PanelContainer"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonAudio" to="." method="_on_ButtonAudio_pressed"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonClear" to="." method="_on_ButtonClear_pressed"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/Header/ButtonPreviewPlay" to="." method="_on_ButtonPreviewPlay_pressed"]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -4,79 +4,84 @@ extends Control
var editor_reference
onready var master_tree = get_node('../MasterTreeContainer/MasterTree')
onready var settings_editor = get_node('../SettingsEditor')
var current_theme = ''
var current_theme : String = ''
# When loading the variables to the input fields in the
# load_theme function, every element thinks the value was updated
# so it has to perform a "saving" of that property.
# The loading variable is a way to check if the values should be saved
# or not.
var loading = true
var loading : bool = true
# The amazing and revolutionary path system that magically works and you can't
# complain because "that is not how you are supposed to work". If there was only
# a way to set an id and then access that node via id...
# Here you have paths in all its glory. Praise the paths (っ´ω`c)♡
onready var n = {
# Text
'theme_text_shadow': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer2/CheckBoxShadow,
'theme_text_shadow_color': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer2/ColorPickerButtonShadow,
'theme_text_color': $VBoxContainer/TabContainer/Text/Column/GridContainer/ColorPickerButton,
'theme_font': $VBoxContainer/TabContainer/Text/Column/GridContainer/FontButton,
'theme_shadow_offset_x': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer/ShadowOffsetX,
'theme_shadow_offset_y': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer/ShadowOffsetY,
'theme_text_speed': $VBoxContainer/TabContainer/Text/Column/GridContainer/TextSpeed,
'alignment': $VBoxContainer/TabContainer/Text/Column/GridContainer/HBoxContainer3/Alignment,
onready var n : Dictionary = {
# Dialog Text
'theme_text_shadow': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer2/CheckBoxShadow",
'theme_text_shadow_color': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer2/ColorPickerButtonShadow",
'theme_text_color': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/ColorPickerButton",
'theme_font': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/FontButton",
'theme_shadow_offset_x': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer/ShadowOffsetX",
'theme_shadow_offset_y': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer/ShadowOffsetY",
'theme_text_speed': $"VBoxContainer/TabContainer/Dialog Text/Column2/GridContainer/TextSpeed",
'alignment': $"VBoxContainer/TabContainer/Dialog Text/Column/GridContainer/HBoxContainer3/Alignment",
# Dialog box
'background_texture_button_visible': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer3/CheckBox",
'theme_background_image': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer3/BackgroundTextureButton",
'theme_next_image': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/NextIndicatorButton",
'next_animation': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/NextAnimation",
'theme_action_key': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/BoxContainer/ActionOptionButton",
'theme_action_key': $"VBoxContainer/TabContainer/Dialog Box/Column3/GridContainer/BoxContainer/ActionOptionButton",
'theme_background_color_visible': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer2/CheckBox",
'theme_background_color': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer2/ColorPickerButton",
'theme_text_margin': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer/TextOffsetV",
'theme_text_margin_h': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer/TextOffsetH",
'size_w': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer4/BoxSizeW",
'size_h': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer4/BoxSizeH",
'bottom_gap': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer5/BottomGap",
'theme_text_margin': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer/TextOffsetV",
'theme_text_margin_h': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer/TextOffsetH",
'size_w': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer4/BoxSizeW",
'size_h': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer4/BoxSizeH",
'bottom_gap': $"VBoxContainer/TabContainer/Dialog Box/Column2/GridContainer/HBoxContainer5/BottomGap",
'background_modulation': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer6/CheckBox",
'background_modulation_color': $"VBoxContainer/TabContainer/Dialog Box/Column/GridContainer/HBoxContainer6/ColorPickerButton",
# Character Names
'name_auto_color': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/CharacterColor",
'name_background_visible': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer2/CheckBox",
'name_background': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer2/ColorPickerButton",
'name_image': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer3/BackgroundTextureButton",
'name_image_visible': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer3/CheckBox",
'name_shadow': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer4/ColorPickerButtonShadow",
'name_shadow_visible': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer4/CheckBoxShadow",
'name_shadow_offset_x': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer/ShadowOffsetX",
'name_shadow_offset_y': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer/ShadowOffsetY",
'name_bottom_gap': $"VBoxContainer/TabContainer/Name Label/Column3/GridContainer/HBoxContainer5/BottomGap",
'name_background_modulation': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer6/CheckBox",
'name_background_modulation_color': $"VBoxContainer/TabContainer/Name Label/Column2/GridContainer/HBoxContainer6/ColorPickerButton",
# Buttons
# Choice Buttons
'button_text_color_enabled': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer4/CheckBox2",
'button_text_color': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer4/ButtonTextColor",
'button_background': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer2/ColorPickerButton",
'button_background_visible': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer2/CheckBox",
'button_image': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer3/BackgroundTextureButton",
'button_image_visible': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer3/CheckBox",
'button_offset_x': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer/TextOffsetH",
'button_offset_y': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer/TextOffsetV",
'button_separation': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/VerticalSeparation",
'button_modulation': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer6/CheckBox",
'button_modulation_color': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/HBoxContainer6/ColorPickerButton",
'button_use_native': $"VBoxContainer/TabContainer/Choice Buttons/Column/GridContainer/CheckBox",
'button_offset_x': $"VBoxContainer/TabContainer/Choice Buttons/Column2/GridContainer/HBoxContainer/TextOffsetH",
'button_offset_y': $"VBoxContainer/TabContainer/Choice Buttons/Column2/GridContainer/HBoxContainer/TextOffsetV",
'button_separation': $"VBoxContainer/TabContainer/Choice Buttons/Column2/GridContainer/VerticalSeparation",
# Definitions
# Glossary
'glossary_font': $VBoxContainer/TabContainer/Glossary/Column/GridContainer/FontButton,
'glossary_color': $VBoxContainer/TabContainer/Glossary/Column/GridContainer/ColorPickerButton,
# Text preview
'text_preview': $VBoxContainer/HBoxContainer3/TextEdit,
# Character Names
'name_auto_color': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/CheckBox",
'name_background_visible': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer2/CheckBox",
'name_background': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer2/ColorPickerButton",
'name_image': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer3/BackgroundTextureButton",
'name_image_visible': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer3/CheckBox",
'name_shadow': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer4/ColorPickerButtonShadow",
'name_shadow_visible': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer4/CheckBoxShadow",
'name_shadow_offset_x': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer/ShadowOffsetX",
'name_shadow_offset_y': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer/ShadowOffsetY",
'name_bottom_gap': $"VBoxContainer/TabContainer/Name Label/Column/GridContainer/HBoxContainer5/BottomGap",
}
func _ready():
func _ready() -> void:
# Signal connection to free up some memory
connect("visibility_changed", self, "_on_visibility_changed")
if get_constant("dark_theme", "Editor"):
@ -86,6 +91,9 @@ func _ready():
$DelayPreviewTimer.one_shot = true
$DelayPreviewTimer.connect("timeout", self, '_on_DelayPreview_timer_timeout')
var title_style = $"VBoxContainer/TabContainer/Dialog Text/Column/SectionTitle".get('custom_styles/normal')
title_style.set('bg_color', get_color("prop_category", "Editor"))
# Force preview update
_on_visibility_changed()
@ -98,11 +106,11 @@ func load_theme(filename):
n['theme_action_key'].text = theme.get_value('settings', 'action_key', 'ui_accept')
# Background
n['theme_background_image'].text = DialogicResources.get_filename_from_path(theme.get_value('background', 'image', 'res://addons/dialogic/Images/background/background-2.png'))
n['theme_background_image'].text = DialogicResources.get_filename_from_path(theme.get_value('background', 'image', 'res://addons/dialogic/Example Assets/backgrounds/background-2.png'))
n['background_texture_button_visible'].pressed = theme.get_value('background', 'use_image', true)
n['theme_background_color'].color = Color(theme.get_value('background', 'color', '#ff000000'))
n['theme_background_color_visible'].pressed = theme.get_value('background', 'use_color', false)
n['theme_next_image'].text = DialogicResources.get_filename_from_path(theme.get_value('next_indicator', 'image', 'res://addons/dialogic/Images/next-indicator.png'))
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'))
n['background_modulation'].pressed = theme.get_value('background', 'modulation', false)
n['background_modulation_color'].color = Color(theme.get_value('background', 'modulation_color', '#ffffffff'))
@ -119,19 +127,26 @@ func load_theme(filename):
n['button_text_color'].color = Color(theme.get_value('buttons', 'text_color', "#ffffffff"))
n['button_background'].color = Color(theme.get_value('buttons', 'background_color', "#ff000000"))
n['button_background_visible'].pressed = theme.get_value('buttons', 'use_background_color', false)
n['button_image'].text = DialogicResources.get_filename_from_path(theme.get_value('buttons', 'image', 'res://addons/dialogic/Images/background/background-2.png'))
n['button_image'].text = DialogicResources.get_filename_from_path(theme.get_value('buttons', 'image', 'res://addons/dialogic/Example Assets/backgrounds/background-2.png'))
n['button_image_visible'].pressed = theme.get_value('buttons', 'use_image', true)
n['button_use_native'].pressed = theme.get_value('buttons', 'use_native', false)
n['button_offset_x'].value = theme.get_value('buttons', 'padding', Vector2(5,5)).x
n['button_offset_y'].value = theme.get_value('buttons', 'padding', Vector2(5,5)).y
n['button_separation'].value = theme.get_value('buttons', 'gap', 5)
n['button_modulation'].pressed = theme.get_value('buttons', 'modulation', false)
n['button_modulation_color'].color = Color(theme.get_value('buttons', 'modulation_color', '#ffffffff'))
toggle_button_customization_fields(not theme.get_value('buttons', 'use_native', false))
# Definitions
n['glossary_color'].color = Color(theme.get_value('definitions', 'color', "#ffffffff"))
n['glossary_font'].text = DialogicResources.get_filename_from_path(theme.get_value('definitions', 'font', "res://addons/dialogic/Fonts/GlossaryFont.tres"))
n['glossary_font'].text = DialogicResources.get_filename_from_path(theme.get_value('definitions', 'font', "res://addons/dialogic/Example Assets/Fonts/GlossaryFont.tres"))
# Text
n['theme_text_speed'].value = theme.get_value('text','speed', 2)
n['theme_font'].text = DialogicResources.get_filename_from_path(theme.get_value('text', 'font', 'res://addons/dialogic/Fonts/DefaultFont.tres'))
n['theme_font'].text = DialogicResources.get_filename_from_path(theme.get_value('text', 'font', 'res://addons/dialogic/Example Assets/Fonts/DefaultFont.tres'))
n['theme_text_color'].color = Color(theme.get_value('text', 'color', '#ffffffff'))
n['theme_text_shadow'].pressed = theme.get_value('text', 'shadow', false)
n['theme_text_shadow_color'].color = Color(theme.get_value('text', 'shadow_color', '#9e000000'))
@ -154,7 +169,11 @@ func load_theme(filename):
n['name_background_visible'].pressed = theme.get_value('name', 'background_visible', false)
n['name_background'].color = Color(theme.get_value('name', 'background', "#ff000000"))
n['name_image_visible'].pressed = theme.get_value('name', 'image_visible', false)
n['name_image'].text = DialogicResources.get_filename_from_path(theme.get_value('name', 'image', 'res://addons/dialogic/Images/background/background-2.png'))
n['name_image'].text = DialogicResources.get_filename_from_path(theme.get_value('name', 'image', 'res://addons/dialogic/Example Assets/backgrounds/background-2.png'))
n['name_background_modulation'].pressed = theme.get_value('name', 'modulation', false)
n['name_background_modulation_color'].color = Color(theme.get_value('name', 'modulation_color', '#ffffffff'))
n['name_shadow'].color = Color(theme.get_value('name', 'shadow', "#9e000000"))
@ -184,8 +203,8 @@ func load_theme(filename):
_on_PreviewButton_pressed()
func new_theme():
var theme_file = 'theme-' + str(OS.get_unix_time()) + '.cfg'
func new_theme() -> void:
var theme_file : String = 'theme-' + str(OS.get_unix_time()) + '.cfg'
DialogicResources.add_theme(theme_file)
master_tree.build_themes(theme_file)
load_theme(theme_file)
@ -195,78 +214,78 @@ func new_theme():
settings_editor.set_value('theme', 'default', theme_file)
func duplicate_theme(from_filename):
var duplicate_theme = 'theme-' + str(OS.get_unix_time()) + '.cfg'
func duplicate_theme(from_filename) -> void:
var duplicate_theme : String = 'theme-' + str(OS.get_unix_time()) + '.cfg'
DialogicResources.duplicate_theme(from_filename, duplicate_theme)
DialogicResources.set_theme_value(duplicate_theme, 'settings', 'name', duplicate_theme)
master_tree.build_themes(duplicate_theme)
load_theme(duplicate_theme)
func _on_BackgroundTextureButton_pressed():
func _on_BackgroundTextureButton_pressed() -> void:
editor_reference.godot_dialog("*.png")
editor_reference.godot_dialog_connect(self, "_on_background_selected")
func _on_background_selected(path, target):
if loading == true:
func _on_background_selected(path, target) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'background','image', path)
n['theme_background_image'].text = DialogicResources.get_filename_from_path(path)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_NextIndicatorButton_pressed():
func _on_NextIndicatorButton_pressed() -> void:
editor_reference.godot_dialog("*.png")
editor_reference.godot_dialog_connect(self, "_on_indicator_selected")
func _on_indicator_selected(path, target):
if loading == true:
func _on_indicator_selected(path, target) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'next_indicator','image', path)
n['theme_next_image'].text = DialogicResources.get_filename_from_path(path)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_NextAnimation_item_selected(index):
func _on_NextAnimation_item_selected(index) -> void:
DialogicResources.set_theme_value(current_theme, 'next_indicator', 'animation', n['next_animation'].get_item_text(index))
_on_PreviewButton_pressed() # Refreshing the preview
func _on_ColorPickerButton_color_changed(color):
if loading == true:
func _on_ColorPickerButton_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'text','color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_ColorPickerButtonShadow_color_changed(color):
if loading == true:
func _on_ColorPickerButtonShadow_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'text','shadow_color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_CheckBoxShadow_toggled(button_pressed):
if loading == true:
func _on_CheckBoxShadow_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'text','shadow', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_ShadowOffset_value_changed(_value):
if loading == true:
func _on_ShadowOffset_value_changed(_value) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'text','shadow_offset', Vector2(n['theme_shadow_offset_x'].value,n['theme_shadow_offset_y'].value))
_on_PreviewButton_pressed() # Refreshing the preview
func _on_PreviewButton_pressed():
func _on_PreviewButton_pressed() -> void:
for i in $VBoxContainer/Panel.get_children():
i.free()
var dialogic_node = load("res://addons/dialogic/Dialog.tscn")
var preview_dialog = dialogic_node.instance()
var preview_dialog: DialogicNode = dialogic_node.instance()
preview_dialog.timeline = ''
preview_dialog.preview = true
preview_dialog.debug_mode = false
@ -280,24 +299,24 @@ func _on_PreviewButton_pressed():
character_file = characters[0]['file']
# Loading the theme here because I need it for the parse_alignment
preview_dialog.current_theme = preview_dialog.load_theme(current_theme)
preview_dialog.current_theme = preview_dialog._load_theme(current_theme)
# Creating the one event timeline for the dialog
var text = preview_dialog.parse_definitions(n['text_preview'].text)
var text = preview_dialog._parse_definitions(n['text_preview'].text)
preview_dialog.dialog_script['events'] = [{
"character": character_file,
"portrait":'',
"text": text
}]
preview_dialog.parse_characters(preview_dialog.dialog_script)
preview_dialog._parse_characters(preview_dialog.dialog_script)
preview_dialog.settings = DialogicResources.get_settings_config()
# Alignment
$VBoxContainer/Panel.add_child(preview_dialog)
preview_dialog.load_dialog()
preview_dialog._init_dialog()
# Reloading the theme
preview_dialog.current_theme = preview_dialog.load_theme(current_theme)
preview_dialog.current_theme = preview_dialog._load_theme(current_theme)
# When not performing this step, the dialog name doesn't update the color for some reason
@ -311,13 +330,13 @@ func _on_PreviewButton_pressed():
$VBoxContainer/Panel.rect_size.y = 0
func _on_ActionOptionButton_item_selected(index):
if loading == true:
func _on_ActionOptionButton_item_selected(index) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'settings','action_key', n['theme_action_key'].text)
func _on_ActionOptionButton_pressed():
func _on_ActionOptionButton_pressed() -> void:
n['theme_action_key'].clear()
n['theme_action_key'].add_item('[Select Action]')
InputMap.load_from_globals()
@ -325,28 +344,28 @@ func _on_ActionOptionButton_pressed():
n['theme_action_key'].add_item(a)
func _on_FontButton_pressed():
func _on_FontButton_pressed() -> void:
editor_reference.godot_dialog("*.tres")
editor_reference.godot_dialog_connect(self, "_on_Font_selected")
func _on_Font_selected(path, target):
if loading == true:
func _on_Font_selected(path, target) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'text','font', path)
n['theme_font'].text = DialogicResources.get_filename_from_path(path)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_textSpeed_value_changed(value):
if loading == true:
func _on_textSpeed_value_changed(value) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'text','speed', value)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_TextMargin_value_changed(value):
if loading == true:
func _on_TextMargin_value_changed(value) -> void:
if loading:
return
var final_vector = Vector2(
n['theme_text_margin'].value,
@ -356,42 +375,42 @@ func _on_TextMargin_value_changed(value):
_on_PreviewButton_pressed() # Refreshing the preview
func _on_BackgroundColor_CheckBox_toggled(button_pressed):
if loading == true:
func _on_BackgroundColor_CheckBox_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'background', 'use_color', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_BackgroundColor_ColorPickerButton_color_changed(color):
if loading == true:
func _on_BackgroundColor_ColorPickerButton_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'background', 'color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_BackgroundTexture_CheckBox_toggled(button_pressed):
if loading == true:
func _on_BackgroundTexture_CheckBox_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'background', 'use_image', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_button_background_visible_toggled(button_pressed):
if loading == true:
func _on_button_background_visible_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'use_background_color', button_pressed)
func _on_button_background_color_color_changed(color):
if loading == true:
func _on_button_background_color_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'background_color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_ButtonOffset_value_changed(value):
if loading == true:
func _on_ButtonOffset_value_changed(value) -> void:
if loading:
return
var final_vector = Vector2(
n['button_offset_x'].value,
@ -400,64 +419,84 @@ func _on_ButtonOffset_value_changed(value):
DialogicResources.set_theme_value(current_theme, 'buttons', 'padding', final_vector)
func _on_VerticalSeparation_value_changed(value):
if loading == true:
func _on_VerticalSeparation_value_changed(value) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'gap', n['button_separation'].value)
func _on_button_texture_toggled(button_pressed):
if loading == true:
func _on_button_texture_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'use_image', button_pressed)
func _on_ButtonTextureButton_pressed():
func _on_ButtonTextureButton_pressed() -> void:
editor_reference.godot_dialog("*.png")
editor_reference.godot_dialog_connect(self, "_on_button_texture_selected")
func _on_button_texture_selected(path, target):
if loading == true:
func _on_button_texture_selected(path, target) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'image', path)
n['button_image'].text = DialogicResources.get_filename_from_path(path)
func _on_ButtonTextColor_color_changed(color):
if loading == true:
func _on_ButtonTextColor_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'text_color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_Custom_Button_Color_toggled(button_pressed):
if loading == true:
func _on_Custom_Button_Color_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'text_color_enabled', button_pressed)
func _on_GlossaryColorPicker_color_changed(color):
if loading == true:
func _on_native_button_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'use_native', button_pressed)
toggle_button_customization_fields(not button_pressed)
func toggle_button_customization_fields(enabled) -> void:
var disabled = not enabled
n['button_text_color_enabled'].disabled = disabled
n['button_text_color'].disabled = disabled
n['button_background'].disabled = disabled
n['button_background_visible'].disabled = disabled
n['button_image'].disabled = disabled
n['button_image_visible'].disabled = disabled
n['button_modulation'].disabled = disabled
n['button_modulation_color'].disabled = disabled
n['button_offset_x'].editable = enabled
n['button_offset_y'].editable = enabled
func _on_GlossaryColorPicker_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'definitions', 'color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_GlossaryFontButton_pressed():
func _on_GlossaryFontButton_pressed() -> void:
editor_reference.godot_dialog("*.tres")
editor_reference.godot_dialog_connect(self, "_on_Glossary_Font_selected")
func _on_Glossary_Font_selected(path, target):
if loading == true:
func _on_Glossary_Font_selected(path, target) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'definitions', 'font', path)
n['glossary_font'].text = DialogicResources.get_filename_from_path(path)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_visibility_changed():
func _on_visibility_changed() -> void:
if visible:
# Refreshing the dialog
_on_PreviewButton_pressed()
@ -468,23 +507,23 @@ func _on_visibility_changed():
i.queue_free()
func _on_BoxSize_value_changed(value):
if loading == true:
func _on_BoxSize_value_changed(value) -> void:
if loading:
return
var size_value = Vector2(n['size_w'].value, n['size_h'].value)
DialogicResources.set_theme_value(current_theme, 'box', 'size', size_value)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_BottomGap_value_changed(value):
if loading == true:
func _on_BottomGap_value_changed(value) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'box', 'bottom_gap', value)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_Alignment_item_selected(index):
if loading == true:
func _on_Alignment_item_selected(index) -> void:
if loading:
return
if index == 0:
DialogicResources.set_theme_value(current_theme, 'text', 'alignment', 'Left')
@ -495,95 +534,124 @@ func _on_Alignment_item_selected(index):
_on_PreviewButton_pressed() # Refreshing the preview
func _on_Preview_text_changed():
if loading == true:
func _on_Preview_text_changed() -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'text', 'preview', n['text_preview'].text)
func _on_name_auto_color_toggled(button_pressed):
if loading == true:
func _on_name_auto_color_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'auto_color', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_name_background_visible_toggled(button_pressed):
if loading == true:
func _on_name_background_visible_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'background_visible', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_name_background_color_changed(color):
if loading == true:
func _on_name_background_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'background', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_name_image_visible_toggled(button_pressed):
if loading == true:
func _on_name_image_visible_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'image_visible', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_name_image_pressed():
func _on_name_image_pressed() -> void:
editor_reference.godot_dialog("*.png")
editor_reference.godot_dialog_connect(self, "_on_name_texture_selected")
func _on_name_texture_selected(path, target):
if loading == true:
func _on_name_texture_selected(path, target) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'image', path)
n['name_image'].text = DialogicResources.get_filename_from_path(path)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_shadow_visible_toggled(button_pressed):
if loading == true:
func _on_shadow_visible_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'shadow_visible', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_name_shadow_color_changed(color):
if loading == true:
func _on_name_shadow_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'shadow', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_name_ShadowOffset_value_changed(_value):
if loading == true:
func _on_name_ShadowOffset_value_changed(_value) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name','shadow_offset',
Vector2(n['name_shadow_offset_x'].value,n['name_shadow_offset_y'].value))
_on_PreviewButton_pressed() # Refreshing the preview
func _on_name_BottomGap_value_changed(value):
if loading == true:
func _on_name_BottomGap_value_changed(value) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'bottom_gap', value)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_DelayPreview_timer_timeout():
func _on_DelayPreview_timer_timeout() -> void:
_on_PreviewButton_pressed() # Refreshing the preview
func _on_BackgroundTexture_Modulation_toggled(button_pressed):
if loading == true:
func _on_BackgroundTexture_Modulation_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'background', 'modulation', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_ColorPicker_Background_texture_modulation_color_changed(color):
if loading == true:
func _on_ColorPicker_Background_texture_modulation_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'background', 'modulation_color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_ColorPicker_NameLabel_modulation_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'modulation_color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times
func _on_NameLabel_texture_modulation_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'name', 'modulation', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_ChoiceButtons_texture_modulate_toggled(button_pressed) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'modulation', button_pressed)
_on_PreviewButton_pressed() # Refreshing the preview
func _on_ColorPicker_ChoiceButtons_modulation_color_changed(color) -> void:
if loading:
return
DialogicResources.set_theme_value(current_theme, 'buttons', 'modulation_color', '#' + color.to_html())
$DelayPreviewTimer.start(0.5) # Calling a timer so the update doesn't get triggered many times

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

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

View file

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/background-1.png-89282dbd6f94191cf4f5c810a2ffab77.stex"
path="res://.import/background-1.png-1fc779d8fd5d0bc2346042b70def9109.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/background/background-1.png"
dest_files=[ "res://.import/background-1.png-89282dbd6f94191cf4f5c810a2ffab77.stex" ]
source_file="res://addons/dialogic/Example Assets/backgrounds/background-1.png"
dest_files=[ "res://.import/background-1.png-1fc779d8fd5d0bc2346042b70def9109.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/background-2.png-c129b8b6b93cd7712f1146bde9cee0bf.stex"
path="res://.import/background-2.png-16cefbac02f843f04a3346ffecedf6b6.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/background/background-2.png"
dest_files=[ "res://.import/background-2.png-c129b8b6b93cd7712f1146bde9cee0bf.stex" ]
source_file="res://addons/dialogic/Example Assets/backgrounds/background-2.png"
dest_files=[ "res://.import/background-2.png-16cefbac02f843f04a3346ffecedf6b6.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/next-indicator.png-b9557c1efa1b225e5de6bb92bce11943.stex"
path="res://.import/next-indicator.png-e3b7b80d9da791a1d0a061a728b6f781.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/next-indicator.png"
dest_files=[ "res://.import/next-indicator.png-b9557c1efa1b225e5de6bb92bce11943.stex" ]
source_file="res://addons/dialogic/Example Assets/next-indicator/next-indicator.png"
dest_files=[ "res://.import/next-indicator.png-e3b7b80d9da791a1d0a061a728b6f781.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/df-1.png-6175322ef18a2f4fb7b65fe08bff68d0.stex"
path="res://.import/df-1.png-dd38cabf6782fa8ec6317d8193b3bb58.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/portraits/df-1.png"
dest_files=[ "res://.import/df-1.png-6175322ef18a2f4fb7b65fe08bff68d0.stex" ]
source_file="res://addons/dialogic/Example Assets/portraits/df-1.png"
dest_files=[ "res://.import/df-1.png-dd38cabf6782fa8ec6317d8193b3bb58.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/df-2.png-f6b53b46f9b25bdd84c1d6e81deed6c2.stex"
path="res://.import/df-2.png-6e4167303060ad7b046acda78c51329c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/portraits/df-2.png"
dest_files=[ "res://.import/df-2.png-f6b53b46f9b25bdd84c1d6e81deed6c2.stex" ]
source_file="res://addons/dialogic/Example Assets/portraits/df-2.png"
dest_files=[ "res://.import/df-2.png-6e4167303060ad7b046acda78c51329c.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/df-3.png-6a749eca45736cdcf574fd90eead4619.stex"
path="res://.import/df-3.png-e1bbeb9edcf0b295ecce73d91ad4c986.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/portraits/df-3.png"
dest_files=[ "res://.import/df-3.png-6a749eca45736cdcf574fd90eead4619.stex" ]
source_file="res://addons/dialogic/Example Assets/portraits/df-3.png"
dest_files=[ "res://.import/df-3.png-e1bbeb9edcf0b295ecce73d91ad4c986.stex" ]
[params]

View file

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

View file

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

View file

@ -1 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 148 B

View file

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 283 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/ActionCopy.svg-63402671dac0d39077ea78c09fc673aa.stex"
path="res://.import/ActionCopy.svg-5b4013a70fecebd29760cea7953f7539.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/ActionCopy.svg"
dest_files=[ "res://.import/ActionCopy.svg-63402671dac0d39077ea78c09fc673aa.stex" ]
source_file="res://addons/dialogic/Images/Context Menus/ActionCopy.svg"
dest_files=[ "res://.import/ActionCopy.svg-5b4013a70fecebd29760cea7953f7539.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 183 B

After

Width:  |  Height:  |  Size: 183 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/Filesystem.svg-a3ca74f9d2cdc62927955e2f99c73ac1.stex"
path="res://.import/Filesystem.svg-1b4be5705e8cf2dba5ed5377977d1221.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Filesystem.svg"
dest_files=[ "res://.import/Filesystem.svg-a3ca74f9d2cdc62927955e2f99c73ac1.stex" ]
source_file="res://addons/dialogic/Images/Context Menus/Filesystem.svg"
dest_files=[ "res://.import/Filesystem.svg-1b4be5705e8cf2dba5ed5377977d1221.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 239 B

After

Width:  |  Height:  |  Size: 239 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/Remove.svg-5fdf7012a90fe887e73fc55cb69bdaf2.stex"
path="res://.import/Remove.svg-e6ac0bc0ace4deeae8709012158798f8.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Remove.svg"
dest_files=[ "res://.import/Remove.svg-5fdf7012a90fe887e73fc55cb69bdaf2.stex" ]
source_file="res://addons/dialogic/Images/Context Menus/Remove.svg"
dest_files=[ "res://.import/Remove.svg-e6ac0bc0ace4deeae8709012158798f8.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 841 B

After

Width:  |  Height:  |  Size: 841 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio-event.svg-d192398662daf4684b0a1cb09391d1c1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/audio-event.svg"
dest_files=[ "res://.import/audio-event.svg-d192398662daf4684b0a1cb09391d1c1.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/background-music.svg-ce4f516e1adc748da06ba03cfc5f5aea.stex"
path="res://.import/background-music.svg-ed735c7eb8946611ace4908d8c03f881.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Events/background-music.svg"
dest_files=[ "res://.import/background-music.svg-ce4f516e1adc748da06ba03cfc5f5aea.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/background-music.svg"
dest_files=[ "res://.import/background-music.svg-ed735c7eb8946611ace4908d8c03f881.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/Add.svg-841b9d99eb0e55333201a7ce23318272.stex"
path="res://.import/call-node.svg-18ac09155d5b32a52ebd8691a3af4366.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Add.svg"
dest_files=[ "res://.import/Add.svg-841b9d99eb0e55333201a7ce23318272.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/call-node.svg"
dest_files=[ "res://.import/call-node.svg-18ac09155d5b32a52ebd8691a3af4366.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/change-scene.svg-4ec53c6e2be3e1a24d1aeb9767277503.stex"
path="res://.import/change-scene.svg-6725a8049733078ddbd90a4b2658171a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Events/change-scene.svg"
dest_files=[ "res://.import/change-scene.svg-4ec53c6e2be3e1a24d1aeb9767277503.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/change-scene.svg"
dest_files=[ "res://.import/change-scene.svg-6725a8049733078ddbd90a4b2658171a.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1 KiB

View file

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

View file

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 445 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/character-join.svg-b66498656c09188cb8737cd2176ed71b.stex"
path="res://.import/character-join.svg-21df5cf0ef16cc4703da536cc0ba7600.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/character-join.svg"
dest_files=[ "res://.import/character-join.svg-b66498656c09188cb8737cd2176ed71b.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/character-join.svg"
dest_files=[ "res://.import/character-join.svg-21df5cf0ef16cc4703da536cc0ba7600.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 456 B

After

Width:  |  Height:  |  Size: 456 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/character-leave.svg-fa5c9db1ebb7a3a9e823282043434e43.stex"
path="res://.import/character-leave.svg-2d2e80f905152be7ba982e5eab07041e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/character-leave.svg"
dest_files=[ "res://.import/character-leave.svg-fa5c9db1ebb7a3a9e823282043434e43.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/character-leave.svg"
dest_files=[ "res://.import/character-leave.svg-2d2e80f905152be7ba982e5eab07041e.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 524 B

After

Width:  |  Height:  |  Size: 524 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/choice.svg-26dddb0fed66728e82adce1daf345c4f.stex"
path="res://.import/choice.svg-13eab5623c86309807d0cbedab2ce888.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/choice.svg"
dest_files=[ "res://.import/choice.svg-26dddb0fed66728e82adce1daf345c4f.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/choice.svg"
dest_files=[ "res://.import/choice.svg-13eab5623c86309807d0cbedab2ce888.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 859 B

After

Width:  |  Height:  |  Size: 859 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/close-dialog.svg-bb378589acef276803372ba9bd39145a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/close-dialog.svg"
dest_files=[ "res://.import/close-dialog.svg-bb378589acef276803372ba9bd39145a.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/condition.svg-409d02a4c99bed93635eb7b1175e09f2.stex"
path="res://.import/condition.svg-9263ad20f1666fc3284ae39867031dd1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/condition.svg"
dest_files=[ "res://.import/condition.svg-409d02a4c99bed93635eb7b1175e09f2.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/condition.svg"
dest_files=[ "res://.import/condition.svg-9263ad20f1666fc3284ae39867031dd1.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/emit-signal.svg-e7476cdba0b41b81b70ecd21f85b0b2f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/emit-signal.svg"
dest_files=[ "res://.import/emit-signal.svg-e7476cdba0b41b81b70ecd21f85b0b2f.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 476 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/end-branch.svg-393dc31ec86d0bbd6ec737e9a12197f7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/end-branch.svg"
dest_files=[ "res://.import/end-branch.svg-393dc31ec86d0bbd6ec737e9a12197f7.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/question.svg-bf5ae2a36e0a1da2ab2969033f16641c.stex"
path="res://.import/question.svg-e8715956b6df35b64adef0a9d414d62b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/question.svg"
dest_files=[ "res://.import/question.svg-bf5ae2a36e0a1da2ab2969033f16641c.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/question.svg"
dest_files=[ "res://.import/question.svg-e8715956b6df35b64adef0a9d414d62b.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 843 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/scene event.svg-ccb4261fbe75c7865b6b03f3b71ac8c6.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/scene event.svg"
dest_files=[ "res://.import/scene event.svg-ccb4261fbe75c7865b6b03f3b71ac8c6.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/Wait.svg-967925959cce4f8e3ee840598b69a612.stex"
path="res://.import/set-theme.svg-1d90327d314f7032240973a0de491cbf.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Events/Wait.svg"
dest_files=[ "res://.import/Wait.svg-967925959cce4f8e3ee840598b69a612.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/set-theme.svg"
dest_files=[ "res://.import/set-theme.svg-1d90327d314f7032240973a0de491cbf.stex" ]
[params]

View file

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<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"/>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/set-value.svg-a9ffb569c3bc80942d1fddebebfaa118.stex"
path="res://.import/set-value.svg-6fb3742ed5c2df51d2350fc9d9c789b0.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Events/set-value.svg"
dest_files=[ "res://.import/set-value.svg-a9ffb569c3bc80942d1fddebebfaa118.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/set-value.svg"
dest_files=[ "res://.import/set-value.svg-6fb3742ed5c2df51d2350fc9d9c789b0.stex" ]
[params]

View file

Before

Width:  |  Height:  |  Size: 472 B

After

Width:  |  Height:  |  Size: 472 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/text-event.svg-c2eab2588af7e9e8b6272730719be2c6.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/text-event.svg"
dest_files=[ "res://.import/text-event.svg-c2eab2588af7e9e8b6272730719be2c6.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/wait-seconds.svg-bfe0671e761c4874421ab49eb39943d7.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Event Icons/Main Icons/wait-seconds.svg"
dest_files=[ "res://.import/wait-seconds.svg-bfe0671e761c4874421ab49eb39943d7.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

Before

Width:  |  Height:  |  Size: 854 B

After

Width:  |  Height:  |  Size: 854 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/Portrait.svg-d630deb987a3ece30f0222a720e96235.stex"
path="res://.import/Portrait.svg-f37a4a2fd15fb13cfe91413c3b2384b1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Images/Portrait.svg"
dest_files=[ "res://.import/Portrait.svg-d630deb987a3ece30f0222a720e96235.stex" ]
source_file="res://addons/dialogic/Images/Event Icons/Portrait.svg"
dest_files=[ "res://.import/Portrait.svg-f37a4a2fd15fb13cfe91413c3b2384b1.stex" ]
[params]

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