Implemented dialogue box design as described in mockups

pull/20/head
kziolkowski 3 months ago
parent ffebe10593
commit 078e26e868

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

@ -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\"",

@ -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)

@ -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": ""
},

@ -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": ""
}
},

@ -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"

@ -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

Loading…
Cancel
Save