fix: refine character HUD and title presentation
This commit is contained in:
+38
-8
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=24 format=3]
|
||||
[gd_scene load_steps=25 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/game/game.gd" id="1_game"]
|
||||
[ext_resource type="Script" path="res://scripts/presentation/map_renderer.gd" id="2_map"]
|
||||
@@ -43,6 +43,7 @@
|
||||
[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"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ui/dark_fantasy/gold_coin.svg" id="43_hud_gold_coin"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBox_hud_panel"]
|
||||
texture = ExtResource("37_hud_panel")
|
||||
@@ -234,21 +235,42 @@ theme_override_colors/font_color = Color(1, 0.82, 0.42, 1)
|
||||
theme_override_font_sizes/font_size = 18
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
visible = false
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="HUD"]
|
||||
layout_mode = 0
|
||||
theme_override_colors/font_color = Color(0.95, 0.79, 0.36, 1)
|
||||
theme_override_font_sizes/font_size = 22
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
text = "Étage 0"
|
||||
|
||||
[node name="TitleNotificationLabel" type="Label" parent="HUD"]
|
||||
layout_mode = 0
|
||||
visible = false
|
||||
theme_override_colors/font_color = Color(1, 0.88, 0.52, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.06, 0.035, 0.015, 1)
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_font_sizes/font_size = 20
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TitleNotificationTimer" type="Timer" parent="HUD"]
|
||||
wait_time = 5.0
|
||||
one_shot = true
|
||||
|
||||
[node name="AchievementToastTimer" type="Timer" parent="HUD"]
|
||||
wait_time = 5.0
|
||||
one_shot = true
|
||||
|
||||
[node name="HeaderValuesLabel" type="Label" parent="HUD" groups=["hud_header_values"]]
|
||||
layout_mode = 0
|
||||
theme_override_colors/font_color = Color(0.86, 0.78, 0.58, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
text = "Sans-Nom • Étage 0 • Salle inconnue • 0 cases explorées"
|
||||
text = ""
|
||||
visible = false
|
||||
|
||||
[node name="ResponsiveLayout" type="Control" parent="HUD"]
|
||||
layout_mode = 3
|
||||
@@ -340,10 +362,10 @@ mouse_filter = 2
|
||||
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/outline_size = 3
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_font_sizes/font_size = 16
|
||||
theme_override_font_sizes/font_size = 22
|
||||
text = "PERSONNAGE"
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -400,10 +422,10 @@ mouse_filter = 2
|
||||
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/outline_size = 3
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_font_sizes/font_size = 16
|
||||
theme_override_font_sizes/font_size = 22
|
||||
text = "JOURNAL"
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -466,7 +488,8 @@ layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.96, 0.84, 0.48, 1)
|
||||
theme_override_font_sizes/font_size = 21
|
||||
text = "Sans-Nom"
|
||||
text = ""
|
||||
visible = false
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="CharacterLevelLabel" type="Label" parent="HUD/ResponsiveLayout" groups=["hud_character_values"]]
|
||||
@@ -536,11 +559,18 @@ text = "État : 12 PV • 3 Focus"
|
||||
autowrap_mode = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="GoldIcon" type="TextureRect" parent="HUD"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("43_hud_gold_coin")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="GoldLabel" type="Label" parent="HUD"]
|
||||
layout_mode = 0
|
||||
theme_override_colors/font_color = Color(1, 0.84, 0.35, 1)
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Or : 0"
|
||||
text = "0"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="QuestTrackerLabel" type="Label" parent="HUD"]
|
||||
|
||||
Reference in New Issue
Block a user