Implemented dialogue box design as described in mockups
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user