aboutsummaryrefslogtreecommitdiffstats
path: root/HUD.tscn
diff options
context:
space:
mode:
authorfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-30 01:52:31 +0100
committerfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-30 01:52:31 +0100
commit05911efcab3d011164e617915872c15fda45a53b (patch)
treef580308f4d24bef35259b7af82fe433757d0e82a /HUD.tscn
parentf146c1ade2831cf3de6de9828e1340eadc0af4fe (diff)
Set background for health bar
Diffstat (limited to 'HUD.tscn')
-rw-r--r--HUD.tscn6
1 files changed, 5 insertions, 1 deletions
diff --git a/HUD.tscn b/HUD.tscn
index b0f7ca6..640ba79 100644
--- a/HUD.tscn
+++ b/HUD.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=6 format=2]
+[gd_scene load_steps=7 format=2]
[ext_resource path="res://HealthBar.gd" type="Script" id=1]
[ext_resource path="res://Wordart.gd" type="Script" id=2]
@@ -8,6 +8,9 @@
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 1, 0, 1 )
+[sub_resource type="StyleBoxFlat" id=2]
+bg_color = Color( 0, 0, 0, 1 )
+
[node name="HUD" type="CanvasLayer"]
[node name="HBoxContainer" type="HBoxContainer" parent="."]
@@ -31,6 +34,7 @@ margin_bottom = 14.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/fg = SubResource( 1 )
+custom_styles/bg = SubResource( 2 )
value = 100.0
script = ExtResource( 1 )