1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-11-24 21:54:18 +00:00

⚙️ Graphic changes in ui

This commit is contained in:
Cookie-CHR 2022-04-05 00:27:25 +02:00
parent f42c333228
commit 336b854898

View file

@ -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