mtd/Scenes/health_bar.tscn

31 lines
944 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://hjq3nrnumklp"]
[ext_resource type="Texture2D" uid="uid://r202vo47jw1q" path="res://Assets/Textures/enemyhealth.png" id="1_x8m88"]
[ext_resource type="Script" path="res://Scripts/health_bar.gd" id="2_m8c1f"]
[ext_resource type="Gradient" uid="uid://dx7auy3oqw82t" path="res://health_bar_gradient.tres" id="3_dpmma"]
[node name="HealthBar" type="TextureProgressBar"]
offset_right = 200.0
offset_bottom = 200.0
grow_horizontal = 2
grow_vertical = 2
step = 0.0
value = 100.0
fill_mode = 6
texture_progress = ExtResource("1_x8m88")
tint_progress = Color(0, 1, 0, 1)
script = ExtResource("2_m8c1f")
health_bar_gradient = ExtResource("3_dpmma")
[node name="PreviousHealthBar" type="TextureProgressBar" parent="."]
z_index = -1
layout_mode = 0
offset_right = 200.0
offset_bottom = 200.0
grow_horizontal = 2
grow_vertical = 2
step = 0.0
value = 100.0
fill_mode = 6
texture_progress = ExtResource("1_x8m88")