From 336b854898dd5db4f19a14c4534f534630a94a95 Mon Sep 17 00:00:00 2001 From: Cookie-CHR Date: Tue, 5 Apr 2022 00:27:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Graphic=20changes=20in=20u?= =?UTF-8?q?i?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/levels/ui/UserInterface.tscn | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/levels/ui/UserInterface.tscn b/src/levels/ui/UserInterface.tscn index 5dc1cb4..88f64d9 100644 --- a/src/levels/ui/UserInterface.tscn +++ b/src/levels/ui/UserInterface.tscn @@ -1,14 +1,13 @@ -[gd_scene load_steps=12 format=2] +[gd_scene load_steps=11 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] -[ext_resource path="res://src/levels/ui/LifeBarFg.png" type="Texture" id=3] +[ext_resource path="res://src/levels/ui/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/LifeBarBg.png" type="Texture" id=5] +[ext_resource path="res://src/levels/ui/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 @@ -34,6 +33,10 @@ theme = SubResource( 2 ) position = Vector2( 640, 40 ) texture = ExtResource( 2 ) +[node name="Sprite" type="Sprite" parent="TheDarkNightUI"] +position = Vector2( 634, 41 ) +texture = ExtResource( 3 ) + [node name="TimeSurvived" type="Label" parent="TheDarkNightUI"] anchor_bottom = 1.0 margin_left = 589.0 @@ -47,16 +50,15 @@ align = 2 valign = 1 script = ExtResource( 4 ) -[node name="HealthBar" type="TextureProgress" parent="TheDarkNightUI"] +[node name="TextureProgress" type="TextureProgress" parent="TheDarkNightUI"] margin_left = 15.0 margin_top = 15.0 margin_right = 365.0 margin_bottom = 65.0 -value = 100.0 -texture_under = ExtResource( 5 ) -texture_progress = ExtResource( 3 ) -texture_progress_offset = Vector2( 10, 5 ) -script = ExtResource( 9 ) +value = 50.0 +texture_under = ExtResource( 3 ) +texture_progress = ExtResource( 5 ) +texture_progress_offset = Vector2( 2, 0 ) [node name="MuteButton" type="Button" parent="TheDarkNightUI"] anchor_left = 1.0