Implemented dialogue box design as described in mockups

This commit is contained in:
2025-10-22 14:23:48 +02:00
parent ffebe10593
commit 078e26e868
9 changed files with 84 additions and 22 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

@@ -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
@@ -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
+17 -3
View File
@@ -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\"",