diff options
| author | freddie-a <57713959+freddie-a@users.noreply.github.com> | 2022-10-30 01:07:18 +0100 |
|---|---|---|
| committer | freddie-a <57713959+freddie-a@users.noreply.github.com> | 2022-10-30 01:07:18 +0100 |
| commit | f146c1ade2831cf3de6de9828e1340eadc0af4fe (patch) | |
| tree | 3dc3d6e9fa8c5b88f268ea199049bea852c72a03 /HUD.tscn | |
| parent | 4bc728ab527841dc20a6a0930ffb6046ca39c4f2 (diff) | |
Colour health bar
Diffstat (limited to 'HUD.tscn')
| -rw-r--r-- | HUD.tscn | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,10 +1,13 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://HealthBar.gd" type="Script" id=1] [ext_resource path="res://Wordart.gd" type="Script" id=2] [ext_resource path="res://assets/wordart.png" type="Texture" id=3] [ext_resource path="res://assets/preview_4.tres" type="AudioStream" id=4] +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 0, 1, 0, 1 ) + [node name="HUD" type="CanvasLayer"] [node name="HBoxContainer" type="HBoxContainer" parent="."] @@ -27,6 +30,7 @@ margin_right = 1205.0 margin_bottom = 14.0 size_flags_horizontal = 3 size_flags_vertical = 3 +custom_styles/fg = SubResource( 1 ) value = 100.0 script = ExtResource( 1 ) |
