fix: rebuild HUD composition around real play viewport
This commit is contained in:
+115
-11
@@ -45,12 +45,12 @@
|
||||
[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.035, 0.055, 0.09, 0.9)
|
||||
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.25, 0.48, 0.62, 0.9)
|
||||
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
|
||||
@@ -61,26 +61,26 @@ content_margin_right = 12.0
|
||||
content_margin_bottom = 8.0
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBox_xp_background"]
|
||||
bg_color = Color(0.025, 0.055, 0.075, 1)
|
||||
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.35, 0.48, 0.62, 1)
|
||||
border_color = Color(0.55, 0.40, 0.16, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBox_xp_fill"]
|
||||
bg_color = Color(0.35, 0.72, 1, 1)
|
||||
bg_color = Color(0.78, 0.58, 0.2, 1)
|
||||
corner_radius_top_left = 3
|
||||
corner_radius_top_right = 3
|
||||
corner_radius_bottom_right = 3
|
||||
corner_radius_bottom_left = 3
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBox_prompt_panel"]
|
||||
bg_color = Color(0.08, 0.12, 0.16, 0.94)
|
||||
bg_color = Color(0.10, 0.075, 0.042, 0.98)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
@@ -100,6 +100,26 @@ 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="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="StyleBoxFlat" id="StyleBox_play_frame"]
|
||||
bg_color = Color(0.008, 0.012, 0.018, 0.0)
|
||||
border_width_left = 3
|
||||
@@ -285,9 +305,30 @@ layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_opaque_outside_artboard")
|
||||
|
||||
[node name="PlayAreaMaskTop" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_play_area_mask")
|
||||
|
||||
[node name="PlayAreaMaskLeft" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_play_area_mask")
|
||||
|
||||
[node name="PlayAreaMaskRight" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_play_area_mask")
|
||||
|
||||
[node name="PlayAreaMaskBottom" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_play_area_mask")
|
||||
|
||||
[node name="TopBar" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
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
|
||||
@@ -299,6 +340,46 @@ stretch_mode = 5
|
||||
[node name="LeftRail" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
|
||||
|
||||
[node name="CharacterSection" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_section")
|
||||
|
||||
[node name="ObjectivesSection" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_section")
|
||||
|
||||
[node name="StatusSection" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
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_font_sizes/font_size = 16
|
||||
text = "PERSONNAGE"
|
||||
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_font_sizes/font_size = 16
|
||||
text = "OBJECTIFS"
|
||||
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_font_sizes/font_size = 16
|
||||
text = "ÉTAT"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="PlayAreaFrame" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
@@ -309,35 +390,58 @@ theme_override_styles/panel = SubResource("StyleBox_play_frame")
|
||||
[node name="RightRail" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
|
||||
|
||||
[node name="JournalSection" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_section")
|
||||
|
||||
[node name="MapSection" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
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_font_sizes/font_size = 16
|
||||
text = "JOURNAL"
|
||||
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_font_sizes/font_size = 16
|
||||
text = "CARTE"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="CommandBar" type="Panel" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
|
||||
|
||||
[node name="StatsPanel" type="PanelContainer" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
|
||||
|
||||
[node name="LogPanel" type="PanelContainer" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
|
||||
|
||||
[node name="PromptPanel" type="PanelContainer" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_prompt_panel")
|
||||
|
||||
[node name="HelpPanel" type="PanelContainer" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
|
||||
|
||||
[node name="QuickSlotStrip" type="PanelContainer" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
|
||||
|
||||
[node name="QuickSlotHint" type="Label" parent="HUD/ResponsiveLayout"]
|
||||
layout_mode = 0
|
||||
|
||||
@@ -46,7 +46,7 @@ offset_bottom = 29.0
|
||||
grow_horizontal = 2
|
||||
theme_override_colors/font_color = Color(0.86, 0.78, 0.58, 1)
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "CARTOGRAPHIE — TAB"
|
||||
text = "CARTE — TAB"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
mouse_filter = 2
|
||||
|
||||
Reference in New Issue
Block a user