From 8bb94c930caf5a9011544ab5411591173da5a116 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 5 Apr 2022 01:00:43 +0200 Subject: [PATCH 1/2] :boom: Fix thing --- src/levels/ui/UserInterface.tscn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/levels/ui/UserInterface.tscn b/src/levels/ui/UserInterface.tscn index 814bd25..e30fc4d 100644 --- a/src/levels/ui/UserInterface.tscn +++ b/src/levels/ui/UserInterface.tscn @@ -2,12 +2,13 @@ [ext_resource path="res://src/levels/ui/MusicOn.png" type="Texture" id=1] [ext_resource path="res://src/levels/ui/UIBar.png" type="Texture" id=2] -[ext_resource path="res://src/levels/ui/ui/LifeBarBg.png" type="Texture" id=3] +[ext_resource path="res://src/levels/ui/LifeBarBg.png" type="Texture" id=3] [ext_resource path="res://src/levels/ui/TimeSurvived.gd" type="Script" id=4] -[ext_resource path="res://src/levels/ui/ui/LifeBarFg.png" type="Texture" id=5] +[ext_resource path="res://src/levels/ui/LifeBarFg.png" type="Texture" id=5] [ext_resource path="res://src/levels/ui/fonts/SourceSerifPro-Regular.ttf" type="DynamicFontData" id=6] [ext_resource path="res://src/levels/ui/MuteButton.gd" type="Script" id=7] [ext_resource path="res://src/levels/ui/MusicOff.png" type="Texture" id=8] +[ext_resource path="res://src/levels/ui/HealthBar.gd" type="Script" id=9] [sub_resource type="DynamicFont" id=3] size = 22 From a764c8844dd382d452034c5f4115b353d29e391c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 5 Apr 2022 01:01:30 +0200 Subject: [PATCH 2/2] :wrench: Fix healthbar over/under --- src/levels/ui/UserInterface.tscn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/levels/ui/UserInterface.tscn b/src/levels/ui/UserInterface.tscn index e30fc4d..bbd5948 100644 --- a/src/levels/ui/UserInterface.tscn +++ b/src/levels/ui/UserInterface.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=11 format=2] +[gd_scene load_steps=12 format=2] [ext_resource path="res://src/levels/ui/MusicOn.png" type="Texture" id=1] [ext_resource path="res://src/levels/ui/UIBar.png" type="Texture" id=2] @@ -57,8 +57,8 @@ margin_top = 15.0 margin_right = 365.0 margin_bottom = 65.0 value = 100.0 -texture_under = ExtResource( 5 ) -texture_progress = ExtResource( 3 ) +texture_under = ExtResource( 3 ) +texture_progress = ExtResource( 5 ) texture_progress_offset = Vector2( 2, 0 ) script = ExtResource( 9 )