From 7e81dccb0e9adc5907a5cf889553b1be5c17b0b7 Mon Sep 17 00:00:00 2001 From: gpatruno Date: Fri, 5 Jun 2026 15:31:26 +0200 Subject: [PATCH] test --- .../Common/UI/Custom/MmorpgAbilityBar.ui | 94 ++++++++++++------- src/main/resources/manifest.json | 2 +- 2 files changed, 62 insertions(+), 34 deletions(-) diff --git a/src/main/resources/Common/UI/Custom/MmorpgAbilityBar.ui b/src/main/resources/Common/UI/Custom/MmorpgAbilityBar.ui index 523ba3a..6d7dba9 100644 --- a/src/main/resources/Common/UI/Custom/MmorpgAbilityBar.ui +++ b/src/main/resources/Common/UI/Custom/MmorpgAbilityBar.ui @@ -6,6 +6,7 @@ @XpBarBg = PatchStyle(Color: #152030); @VitalsPanelWidth = 260; @VitalsBarWidth = 244; +@VitalsBarHeight = 16; @AbilitySlotSize = 68; @AbilityPanelPad = 3; @AbilityPanelWidth = @AbilitySlotSize + (@AbilityPanelPad * 2); @@ -36,18 +37,27 @@ Group { Anchor: (Bottom: 2); } - ProgressBar #HealthBar { - Anchor: (Width: @VitalsBarWidth, Height: 12); - Bar: @HealthBarFill; - Background: @HealthBarBg; - Value: 1.0; - Direction: End; - } + Group #HealthBarTrack { + LayoutMode: Full; + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); - Label #HealthValue { - Style: (FontSize: 9, TextColor: #f0f0f0); - Text: "0 / 0"; - Anchor: (Top: 2); + ProgressBar #HealthBar { + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); + Bar: @HealthBarFill; + Background: @HealthBarBg; + Value: 1.0; + Direction: End; + } + + Group { + LayoutMode: CenterMiddle; + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); + + Label #HealthValue { + Style: (FontSize: 9, RenderBold: true, TextColor: #ffffff); + Text: "0 / 0"; + } + } } } @@ -61,18 +71,27 @@ Group { Anchor: (Bottom: 2); } - ProgressBar #StaminaBar { - Anchor: (Width: @VitalsBarWidth, Height: 12); - Bar: @StaminaBarFill; - Background: @StaminaBarBg; - Value: 1.0; - Direction: End; - } + Group #StaminaBarTrack { + LayoutMode: Full; + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); - Label #StaminaValue { - Style: (FontSize: 9, TextColor: #f0f0f0); - Text: "0 / 0"; - Anchor: (Top: 2); + ProgressBar #StaminaBar { + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); + Bar: @StaminaBarFill; + Background: @StaminaBarBg; + Value: 1.0; + Direction: End; + } + + Group { + LayoutMode: CenterMiddle; + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); + + Label #StaminaValue { + Style: (FontSize: 9, RenderBold: true, TextColor: #ffffff); + Text: "0 / 0"; + } + } } } @@ -85,18 +104,27 @@ Group { Anchor: (Bottom: 2); } - ProgressBar #XpBar { - Anchor: (Width: @VitalsBarWidth, Height: 12); - Bar: @XpBarFill; - Background: @XpBarBg; - Value: 0.0; - Direction: End; - } + Group #XpBarTrack { + LayoutMode: Full; + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); - Label #XpValue { - Style: (FontSize: 9, TextColor: #f0f0f0); - Text: "0 / 0"; - Anchor: (Top: 2); + ProgressBar #XpBar { + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); + Bar: @XpBarFill; + Background: @XpBarBg; + Value: 0.0; + Direction: End; + } + + Group { + LayoutMode: CenterMiddle; + Anchor: (Width: @VitalsBarWidth, Height: @VitalsBarHeight); + + Label #XpValue { + Style: (FontSize: 9, RenderBold: true, TextColor: #ffffff); + Text: "0 / 0"; + } + } } } } diff --git a/src/main/resources/manifest.json b/src/main/resources/manifest.json index cbe919d..000e7bb 100644 --- a/src/main/resources/manifest.json +++ b/src/main/resources/manifest.json @@ -1,7 +1,7 @@ { "Group": "com.disklexar", "Name": "MMORPG", - "Version": "0.2.6", + "Version": "0.2.7", "Description": "Serveur MMORPG Hytale — progression, persistance et systèmes sociaux", "Authors": [ {