diff --git a/addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png b/addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png new file mode 100644 index 0000000..2dc4a4b Binary files /dev/null and b/addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png differ diff --git a/addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png.import b/addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png.import new file mode 100644 index 0000000..5c70810 --- /dev/null +++ b/addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cyfjhl5qp3lpj" +path="res://.godot/imported/next-indicator-dialogic-2.png-738692064a5e64a28dcba134b029afb9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png" +dest_files=["res://.godot/imported/next-indicator-dialogic-2.png-738692064a5e64a28dcba134b029afb9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Textbox/vn_textbox_default_panel.tres b/addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Textbox/vn_textbox_default_panel.tres index fbc527c..6d07d9f 100644 --- a/addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Textbox/vn_textbox_default_panel.tres +++ b/addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Textbox/vn_textbox_default_panel.tres @@ -1,10 +1,10 @@ [gd_resource type="StyleBoxFlat" format=3 uid="uid://dkv1pl1c1dq6"] [resource] -content_margin_left = 15.0 -content_margin_top = 15.0 -content_margin_right = 15.0 -content_margin_bottom = 15.0 +content_margin_left = 100.0 +content_margin_top = 80.0 +content_margin_right = 100.0 +content_margin_bottom = 30.0 bg_color = Color(1, 1, 1, 1) border_width_left = 1 border_width_top = 1 diff --git a/addons/dialogic/vesna_style.tres b/addons/dialogic/vesna_style.tres index 1bfe954..34e72b9 100644 --- a/addons/dialogic/vesna_style.tres +++ b/addons/dialogic/vesna_style.tres @@ -15,8 +15,9 @@ script = ExtResource("1_kc0s3") overrides = { "global_bg_color": "Color(0.898039, 0.917647, 0.835294, 1)", +"global_font": "\"res://fonts/ShantellSans/static/ShantellSans-Regular.ttf\"", "global_font_color": "Color(0.258824, 0.12549, 0.054902, 1)", -"global_font_size": "30.0" +"global_font_size": "45.0" } [sub_resource type="Resource" id="Resource_awdqn"] @@ -26,6 +27,9 @@ scene = ExtResource("2_wjopr") [sub_resource type="Resource" id="Resource_5pou4"] script = ExtResource("1_kc0s3") scene = ExtResource("3_depsi") +overrides = { +"portrait_size_mode": "0" +} [sub_resource type="Resource" id="Resource_6xrvb"] script = ExtResource("1_kc0s3") @@ -35,14 +39,24 @@ scene = ExtResource("4_wy5ku") script = ExtResource("1_kc0s3") scene = ExtResource("5_6srh5") overrides = { +"bold_font": "\"res://fonts/ShantellSans/static/ShantellSans-Bold.ttf\"", +"bold_italics_font": "\"res://fonts/ShantellSans/static/ShantellSans-BoldItalic.ttf\"", "box_animation_in": "1", "box_animation_out": "1", +"box_color_custom": "Color(0.88, 0.6688, 0.73568, 1)", +"box_color_use_global": "false", "box_panel": "\"vn_textbox_default_panel.tres\"", +"box_size": "Vector2(1920, 300)", +"italics_font": "\"res://fonts/ShantellSans/static/ShantellSans-Italic.ttf\"", "name_label_box_modulate": "Color(1, 1, 1, 1)", +"name_label_box_offset": "Vector2(200, 0)", "name_label_box_panel": "\"res://dialog/Babushka_NPC_Namebox_background.tres\"", -"name_label_custom_font_size": "30.0", +"name_label_custom_font_size": "40.0", +"name_label_font": "\"res://fonts/HomemadeApple/HomemadeApple-Regular.ttf\"", "name_label_use_global_color": "false", -"next_indicator_enabled": "false", +"name_label_use_global_font": "false", +"next_indicator_texture": "\"res://addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png\"", +"normal_font": "\"res://fonts/ShantellSans/static/ShantellSans-Regular.ttf\"", "text_alignment": "1", "text_size": "40.0", "typing_sounds_end_sound": "\"res://audio/sfx/UI/Dialog/SFX_Dialog_Open_01.wav\"", diff --git a/dialog/Babushka_NPC_Namebox_background.tres b/dialog/Babushka_NPC_Namebox_background.tres index 9180e7f..5e0d831 100644 --- a/dialog/Babushka_NPC_Namebox_background.tres +++ b/dialog/Babushka_NPC_Namebox_background.tres @@ -3,9 +3,10 @@ [ext_resource type="Texture2D" uid="uid://deitc84w2byyh" path="res://art/ui/nametag.png" id="1_jsn7j"] [resource] -content_margin_left = 40.0 -content_margin_right = 40.0 +content_margin_left = 100.0 +content_margin_right = 100.0 texture = ExtResource("1_jsn7j") texture_margin_left = 20.0 texture_margin_right = 20.0 axis_stretch_vertical = 2 +region_rect = Rect2(0, 0, 1119, 132) diff --git a/dialog/Characters/Yeli.dch b/dialog/Characters/Yeli.dch index ab31057..58fea92 100644 --- a/dialog/Characters/Yeli.dch +++ b/dialog/Characters/Yeli.dch @@ -50,7 +50,7 @@ "image": "\"res://art/characters/yeli animierbar/yeli_part_side.png\"" }, "mirror": true, -"offset": Vector2(0, 0), +"offset": Vector2(-150, 0), "scale": 1.0, "scene": "" }, diff --git a/dialog/Characters/vesna.dch b/dialog/Characters/vesna.dch index 820a91f..bf36aba 100644 --- a/dialog/Characters/vesna.dch +++ b/dialog/Characters/vesna.dch @@ -19,7 +19,7 @@ }, "style": "vesna_style" }, -&"default_portrait": "front", +&"default_portrait": "half side", &"description": "The main character. ", &"display_name": "Vesna", &"mirror": false, @@ -31,8 +31,8 @@ "image": "\"res://art/animation/Vesna2D/Vesna Anims Sequences/F01-Idle/0001.png\"" }, "mirror": false, -"offset": Vector2(0, 0), -"scale": 0.6, +"offset": Vector2(150, 0), +"scale": 0.8, "scene": "" }, "half side": { @@ -40,8 +40,8 @@ "image": "\"res://art/animation/Vesna2D/Vesna Anims Sequences/D05-Talk/0001.png\"" }, "mirror": false, -"offset": Vector2(0, 0), -"scale": 0.6, +"offset": Vector2(150, 0), +"scale": 0.8, "scene": "" } }, diff --git a/dialog/NPC_narrative.tres b/dialog/NPC_narrative.tres index 31b0438..8202caa 100644 --- a/dialog/NPC_narrative.tres +++ b/dialog/NPC_narrative.tres @@ -17,9 +17,9 @@ script = ExtResource("1_0jwhi") scene = ExtResource("1_8wrfq") overrides = { "global_bg_color": "Color(0.898375, 0.917922, 0.835355, 1)", -"global_font": "\"res://addons/dialogic/Example Assets/Fonts/Roboto-Bold.ttf\"", +"global_font": "\"res://fonts/ShantellSans/static/ShantellSans-Regular.ttf\"", "global_font_color": "Color(0.257812, 0.125248, 0.0533752, 1)", -"global_font_size": "30.0" +"global_font_size": "45.0" } [sub_resource type="Resource" id="Resource_uxnk3"] @@ -29,6 +29,9 @@ scene = ExtResource("2_8wrfq") [sub_resource type="Resource" id="Resource_ihoat"] script = ExtResource("1_0jwhi") scene = ExtResource("3_t7aeg") +overrides = { +"portrait_size_mode": "0" +} [sub_resource type="Resource" id="Resource_pw0bl"] script = ExtResource("1_0jwhi") @@ -38,19 +41,23 @@ scene = ExtResource("4_85y6g") script = ExtResource("1_0jwhi") scene = ExtResource("5_reo2u") overrides = { +"bold_font": "\"res://fonts/ShantellSans/static/ShantellSans-Bold.ttf\"", +"bold_italics_font": "\"res://fonts/ShantellSans/static/ShantellSans-BoldItalic.ttf\"", "box_animation_in": "1", "box_animation_out": "1", "box_panel": "\"vn_textbox_default_panel.tres\"", -"box_size": "Vector2(1200, 300)", +"box_size": "Vector2(1920, 300)", +"italics_font": "\"res://fonts/ShantellSans/static/ShantellSans-Italic.ttf\"", "name_label_alignment": "2", "name_label_box_modulate": "Color(1, 1, 1, 1)", +"name_label_box_offset": "Vector2(-200, 0)", "name_label_box_panel": "\"res://dialog/Babushka_NPC_Namebox_background.tres\"", "name_label_custom_font_size": "30.0", "name_label_font": "\"res://fonts/HomemadeApple/HomemadeApple-Regular.ttf\"", "name_label_use_global_color": "false", "name_label_use_global_font": "false", -"next_indicator_enabled": "false", -"normal_font": "\"res://fonts/ShortStack/ShortStack-Regular.ttf\"", +"next_indicator_texture": "\"res://addons/dialogic/Example Assets/next-indicator/next-indicator-dialogic-2.png\"", +"normal_font": "\"res://fonts/ShantellSans/static/ShantellSans-Regular.ttf\"", "text_alignment": "1", "text_custom_color": "Color(0.8980392, 0.91764706, 0.8352941, 1)", "text_size": "40.0", @@ -103,4 +110,4 @@ layer_info = { "17": SubResource("Resource_sadu5"), "18": SubResource("Resource_0jwhi") } -metadata/_latest_layer = "11" +metadata/_latest_layer = "13" diff --git a/project.godot b/project.godot index 1e27f4c..c7a810f 100644 --- a/project.godot +++ b/project.godot @@ -75,7 +75,7 @@ variables={ "SHOW": "IGF" } glossary/default_case_sensitive=true -layout/style_list=["res://dialog/NPC_narrative.tres", "res://addons/babushkahelpers/babushka_dialogue_style.tres", "res://addons/dialogic/vesna_style.tres"] +layout/style_list=["res://dialog/NPC_narrative.tres", "res://addons/dialogic/vesna_style.tres"] layout/default_style="res://dialog/NPC_narrative.tres" extensions_folder="res://addons/dialogic_additions" text/letter_speed=0.01