fix: refine character HUD and title presentation
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
[gd_scene load_steps=3 format=3]
|
||||
[gd_scene load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/presentation/character_panel.gd" id="1_character"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/panel_64x64_nine_patch_source.png" id="2_panel"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBox_character_panel"]
|
||||
bg_color = Color(0.035, 0.055, 0.09, 0.97)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.66, 0.82, 0.42, 0.95)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBox_character_panel"]
|
||||
texture = ExtResource("2_panel")
|
||||
texture_margin_left = 10.0
|
||||
texture_margin_top = 10.0
|
||||
texture_margin_right = 10.0
|
||||
texture_margin_bottom = 10.0
|
||||
modulate_color = Color(0.22, 0.2, 0.16, 0.98)
|
||||
|
||||
[node name="CharacterPanel" type="PanelContainer"]
|
||||
visible = false
|
||||
@@ -22,10 +19,10 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -220.0
|
||||
offset_top = -170.0
|
||||
offset_right = 220.0
|
||||
offset_bottom = 170.0
|
||||
offset_left = -360.0
|
||||
offset_top = -320.0
|
||||
offset_right = 360.0
|
||||
offset_bottom = 320.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_character_panel")
|
||||
@@ -36,13 +33,15 @@ layout_mode = 1
|
||||
anchors_preset = 10
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -185.0
|
||||
offset_top = 18.0
|
||||
offset_right = 185.0
|
||||
offset_bottom = 46.0
|
||||
offset_left = -310.0
|
||||
offset_top = 22.0
|
||||
offset_right = 310.0
|
||||
offset_bottom = 54.0
|
||||
grow_horizontal = 2
|
||||
theme_override_colors/font_color = Color(0.75, 0.94, 0.55, 1)
|
||||
theme_override_font_sizes/font_size = 21
|
||||
theme_override_colors/font_color = Color(1, 0.88, 0.52, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.08, 0.045, 0.015, 1)
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_font_sizes/font_size = 24
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Body" type="RichTextLabel" parent="."]
|
||||
@@ -50,11 +49,11 @@ layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 30.0
|
||||
offset_top = 62.0
|
||||
offset_right = -30.0
|
||||
offset_bottom = -24.0
|
||||
offset_left = 42.0
|
||||
offset_top = 76.0
|
||||
offset_right = -42.0
|
||||
offset_bottom = -30.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/default_color = Color(0.92, 0.95, 1, 1)
|
||||
theme_override_font_sizes/normal_font_size = 17
|
||||
theme_override_colors/default_color = Color(0.95, 0.93, 0.8, 1)
|
||||
theme_override_font_sizes/normal_font_size = 18
|
||||
|
||||
Reference in New Issue
Block a user