diff --git a/public/assets/shapes/hud-image-shape-2.svg b/public/assets/shapes/hud-image-shape-2.svg
new file mode 100644
index 0000000..736840d
--- /dev/null
+++ b/public/assets/shapes/hud-image-shape-2.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/assets/shapes/hud-shape-2.svg b/public/assets/shapes/hud-shape-2.svg
new file mode 100644
index 0000000..6ac7a8c
--- /dev/null
+++ b/public/assets/shapes/hud-shape-2.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/components/gui/Hud.vue b/src/components/gui/Hud.vue
index bb20de6..bdfe5ae 100644
--- a/src/components/gui/Hud.vue
+++ b/src/components/gui/Hud.vue
@@ -33,31 +33,34 @@ const socket = useSocketStore()
.hud-wrapper {
position: relative;
- left: -32px;
+ left: 0;
+ width: 315px;
+ height: 84px;
.hud,
&::before {
position: absolute;
- top: 32px;
- left: 32px;
- width: 245px;
- height: 75px;
+ top: 0;
+ left: 27px;
+ width: 280px;
+ height: 84px;
border-radius: 16px;
z-index: 1;
}
.profile {
position: absolute;
- width: 64px;
- height: 64px;
+ width: 48px;
+ height: 48px;
background-color: rgba($white, 0.8);
border-radius: 100%;
border: 3px solid $white;
- top: 0;
+ top: 50%;
+ transform: translateY(-50%);
left: 0;
z-index: 2; // Ensure profile is above hud and before
img {
- width: 32px;
+ width: 26px;
position: absolute;
left: 50%;
top: 50%;
@@ -66,7 +69,7 @@ const socket = useSocketStore()
}
.hud {
- background: url('/assets/shapes/hud-shape.svg') center/cover no-repeat;
+ background: url('/assets/shapes/hud-shape-2.svg') center/cover no-repeat;
.stats {
height: 100%;
display: flex;
@@ -103,7 +106,8 @@ const socket = useSocketStore()
appearance: none;
height: 8px;
border-radius: 8px;
- max-width: 140px;
+ width: 100%;
+ max-width: 175px;
hp {
accent-color: $red;
@@ -151,7 +155,7 @@ const socket = useSocketStore()
&::before {
content: '';
background: url('/assets/clouds.png') center/cover no-repeat;
- mask: url('/assets/shapes/hud-image-shape.svg') center/cover no-repeat;
+ mask: url('/assets/shapes/hud-image-shape-2.svg') center/cover no-repeat;
mask-mode: luminance;
}
}