fix: apply final dark fantasy HUD polish

This commit is contained in:
goose
2026-10-09 08:38:28 -04:00
parent 59d0b65eb6
commit f1b58935bf
10 changed files with 129 additions and 102 deletions
+63 -59
View File
@@ -37,28 +37,20 @@
[ext_resource type="PackedScene" path="res://scenes/ui/HelpPanel.tscn" id="30_help"]
[ext_resource type="Theme" path="res://assets/ui/dark_fantasy/dark_fantasy_theme.tres" id="36_hud_theme"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/header_800x54.png" id="37_hud_header"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/portrait_roger.png" id="38_hud_portrait"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/illustration_equipement.png" id="39_hud_equipment"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/panel_64x64_nine_patch_source.png" id="37_hud_panel"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/dungeon_ui_background.png" id="38_hud_background"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/jauge_vie_pleine.png" id="40_hud_health"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/jauge_focus_pleine.png" id="41_hud_focus"]
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/jauge_xp_pleine.png" id="42_hud_xp"]
[sub_resource type="StyleBoxFlat" id="StyleBox_hud_panel"]
bg_color = Color(0.055, 0.042, 0.029, 0.98)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.67, 0.48, 0.19, 0.95)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
content_margin_left = 12.0
content_margin_top = 8.0
content_margin_right = 12.0
content_margin_bottom = 8.0
[sub_resource type="StyleBoxTexture" id="StyleBox_hud_panel"]
texture = ExtResource("37_hud_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.32, 0.29, 0.23, 0.88)
[sub_resource type="StyleBoxFlat" id="StyleBox_xp_background"]
bg_color = Color(0.025, 0.02, 0.014, 1)
@@ -100,25 +92,17 @@ border_width_right = 1
border_width_bottom = 1
border_color = Color(0.19, 0.15, 0.09, 1)
[sub_resource type="StyleBoxFlat" id="StyleBox_play_area_mask"]
bg_color = Color(0.025, 0.02, 0.014, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.33, 0.24, 0.11, 1)
[sub_resource type="StyleBoxTexture" id="StyleBox_play_area_mask"]
texture = ExtResource("38_hud_background")
modulate_color = Color(0.55, 0.55, 0.55, 1)
[sub_resource type="StyleBoxFlat" id="StyleBox_section"]
bg_color = Color(0.075, 0.055, 0.035, 0.98)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.62, 0.45, 0.17, 0.9)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxTexture" id="StyleBox_section"]
texture = ExtResource("37_hud_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.27, 0.24, 0.19, 0.9)
[sub_resource type="StyleBoxFlat" id="StyleBox_play_frame"]
bg_color = Color(0.008, 0.012, 0.018, 0.0)
@@ -330,13 +314,6 @@ layout_mode = 0
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
[node name="HeaderOrnament" type="TextureRect" parent="HUD/ResponsiveLayout"]
layout_mode = 0
mouse_filter = 2
texture = ExtResource("37_hud_header")
expand_mode = 1
stretch_mode = 5
[node name="LeftRail" type="Panel" parent="HUD/ResponsiveLayout"]
layout_mode = 0
mouse_filter = 2
@@ -360,7 +337,12 @@ theme_override_styles/panel = SubResource("StyleBox_section")
[node name="CharacterSectionTitle" type="Label" parent="HUD/ResponsiveLayout"]
layout_mode = 0
mouse_filter = 2
theme_override_colors/font_color = Color(0.9, 0.72, 0.34, 1)
theme_override_colors/font_color = Color(0.96, 0.9, 0.7, 1)
theme_override_colors/font_outline_color = Color(0.06, 0.035, 0.015, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.85)
theme_override_constants/outline_size = 2
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 2
theme_override_font_sizes/font_size = 16
text = "PERSONNAGE"
vertical_alignment = 1
@@ -368,7 +350,12 @@ vertical_alignment = 1
[node name="ObjectivesSectionTitle" type="Label" parent="HUD/ResponsiveLayout"]
layout_mode = 0
mouse_filter = 2
theme_override_colors/font_color = Color(0.9, 0.72, 0.34, 1)
theme_override_colors/font_color = Color(0.96, 0.9, 0.7, 1)
theme_override_colors/font_outline_color = Color(0.06, 0.035, 0.015, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.85)
theme_override_constants/outline_size = 2
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 2
theme_override_font_sizes/font_size = 16
text = "OBJECTIFS"
vertical_alignment = 1
@@ -376,7 +363,12 @@ vertical_alignment = 1
[node name="StatusSectionTitle" type="Label" parent="HUD/ResponsiveLayout"]
layout_mode = 0
mouse_filter = 2
theme_override_colors/font_color = Color(0.9, 0.72, 0.34, 1)
theme_override_colors/font_color = Color(0.96, 0.9, 0.7, 1)
theme_override_colors/font_outline_color = Color(0.06, 0.035, 0.015, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.85)
theme_override_constants/outline_size = 2
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 2
theme_override_font_sizes/font_size = 16
text = "ÉTAT"
vertical_alignment = 1
@@ -405,7 +397,12 @@ theme_override_styles/panel = SubResource("StyleBox_section")
[node name="JournalSectionTitle" type="Label" parent="HUD/ResponsiveLayout"]
layout_mode = 0
mouse_filter = 2
theme_override_colors/font_color = Color(0.9, 0.72, 0.34, 1)
theme_override_colors/font_color = Color(0.96, 0.9, 0.7, 1)
theme_override_colors/font_outline_color = Color(0.06, 0.035, 0.015, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.85)
theme_override_constants/outline_size = 2
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 2
theme_override_font_sizes/font_size = 16
text = "JOURNAL"
vertical_alignment = 1
@@ -413,7 +410,12 @@ vertical_alignment = 1
[node name="MapSectionTitle" type="Label" parent="HUD/ResponsiveLayout"]
layout_mode = 0
mouse_filter = 2
theme_override_colors/font_color = Color(0.9, 0.72, 0.34, 1)
theme_override_colors/font_color = Color(0.96, 0.9, 0.7, 1)
theme_override_colors/font_outline_color = Color(0.06, 0.035, 0.015, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.85)
theme_override_constants/outline_size = 2
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 2
theme_override_font_sizes/font_size = 16
text = "CARTE"
vertical_alignment = 1
@@ -448,7 +450,7 @@ layout_mode = 0
mouse_filter = 2
theme_override_colors/font_color = Color(0.86, 0.78, 0.58, 1)
theme_override_font_sizes/font_size = 16
text = "[1] Arme [2] Sort [3] Soin [4] Inventaire"
text = "1 Arme • 2 Sort • 3 Soin • I Sac"
horizontal_alignment = 1
vertical_alignment = 1
@@ -475,18 +477,11 @@ theme_override_font_sizes/font_size = 16
text = "Niveau 1"
vertical_alignment = 1
[node name="EquipmentIllustration" type="TextureRect" parent="HUD/ResponsiveLayout"]
layout_mode = 0
mouse_filter = 2
texture = ExtResource("39_hud_equipment")
expand_mode = 1
stretch_mode = 5
[node name="PlayerHealthLabel" type="Label" parent="HUD" groups=["hud_character_values"]]
layout_mode = 0
theme_override_colors/font_color = Color(1, 0.78, 0.68, 1)
theme_override_font_sizes/font_size = 18
text = "Player HP: 12/12"
text = "PV du joueur : 12/12"
vertical_alignment = 1
[node name="HealthBar" type="ProgressBar" parent="HUD"]
@@ -590,10 +585,19 @@ fit_content = false
theme_override_colors/default_color = Color(1, 1, 0.8, 1)
theme_override_font_sizes/normal_font_size = 14
[node name="ContextPromptLabel" type="Label" parent="HUD" groups=["hud_command_hints"]]
[node name="ActionHintLabel" type="Label" parent="HUD/ResponsiveLayout/PromptPanel" groups=["hud_command_hints"]]
layout_mode = 0
mouse_filter = 2
theme_override_colors/font_color = Color(1, 0.92, 0.63, 1)
theme_override_font_sizes/font_size = 16
text = "F : Distance • X : Magie • K : Familier"
horizontal_alignment = 1
vertical_alignment = 0
[node name="ContextPromptLabel" type="Label" parent="HUD" groups=["hud_command_hints"]]
layout_mode = 0
theme_override_colors/font_color = Color(0.82, 0.9, 1, 1)
theme_override_font_sizes/font_size = 13
horizontal_alignment = 1
vertical_alignment = 1
@@ -601,7 +605,7 @@ vertical_alignment = 1
layout_mode = 0
theme_override_colors/font_color = Color(0.82, 0.9, 1, 1)
theme_override_font_sizes/font_size = 14
text = "Déplacer : ZQSD / Flèches (nord-est : pavé num. 9) • Interagir : Espace ou E • Distance : F • Familier : K • Sauvegarder : V / Ctrl+S • Aide : F1"
clip_text = true
text = "Déplacer ZQSD • Interagir Espace • Inventaire I • Sauvegarde V • Aide F1"
clip_text = false
horizontal_alignment = 1
vertical_alignment = 1