49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://xbfxsiumbgkp"]
|
|
|
|
[ext_resource type="Script" uid="uid://drwgq8fxaclvn" path="res://game/health_system/health_bar/health_bar_part.gd" id="1_nuv67"]
|
|
|
|
[node name="HealthBarPart" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
script = ExtResource("1_nuv67")
|
|
|
|
[node name="ShadeBar" type="TextureProgressBar" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -16.0
|
|
offset_top = -8.0
|
|
offset_right = 16.0
|
|
offset_bottom = 8.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset = Vector2(16, 8)
|
|
|
|
[node name="ValueBar" type="TextureProgressBar" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -16.0
|
|
offset_top = -8.0
|
|
offset_right = 16.0
|
|
offset_bottom = 8.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset = Vector2(16, 8)
|
|
|
|
[node name="ShadeDelayTimer" type="Timer" parent="."]
|
|
wait_time = 0.5
|
|
one_shot = true
|
|
|
|
[node name="ShadeTickTimer" type="Timer" parent="."]
|
|
wait_time = 0.1
|
|
|
|
[connection signal="timeout" from="ShadeDelayTimer" to="." method="_on_shade_delay_timer_timeout"]
|
|
[connection signal="timeout" from="ShadeTickTimer" to="." method="_on_shade_tick_timer_timeout"]
|