2023-07-22 20:23:48 -07:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://bxo553hblp6nf"]
|
2022-11-27 19:37:16 -08:00
|
|
|
|
2023-07-22 20:23:48 -07:00
|
|
|
[ext_resource type="Script" path="res://UI/HealthBar.cs" id="1_54tsn"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b75oak1nd2q6x" path="res://Assets/Sprites/UI/over-under-bar.png" id="1_hlbrd"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://co7xm7i5f6n51" path="res://Assets/Sprites/UI/progress-bar.png" id="2_62osq"]
|
2022-11-27 19:37:16 -08:00
|
|
|
|
|
|
|
[node name="HealthBar" type="Control"]
|
|
|
|
layout_mode = 3
|
2023-07-23 11:05:01 -07:00
|
|
|
anchors_preset = 0
|
|
|
|
offset_right = 128.0
|
|
|
|
offset_bottom = 8.0
|
2023-07-22 20:23:48 -07:00
|
|
|
script = ExtResource("1_54tsn")
|
2022-11-27 19:37:16 -08:00
|
|
|
|
2023-07-22 20:23:48 -07:00
|
|
|
[node name="TextureProgressBar" type="TextureProgressBar" parent="."]
|
|
|
|
texture_filter = 1
|
|
|
|
layout_mode = 0
|
2022-11-27 19:37:16 -08:00
|
|
|
offset_right = 128.0
|
2023-07-22 20:23:48 -07:00
|
|
|
offset_bottom = 8.0
|
2023-07-23 23:39:20 -07:00
|
|
|
value = 100.0
|
2023-07-22 20:23:48 -07:00
|
|
|
nine_patch_stretch = true
|
|
|
|
stretch_margin_left = 3
|
|
|
|
stretch_margin_top = 3
|
|
|
|
stretch_margin_right = 3
|
|
|
|
stretch_margin_bottom = 3
|
|
|
|
texture_under = ExtResource("1_hlbrd")
|
|
|
|
texture_progress = ExtResource("2_62osq")
|