30 lines
938 B
Text
30 lines
938 B
Text
|
|
[gd_scene load_steps=4 format=3 uid="uid://cwl31nkib7ixp"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://c4037f8r3bomr" path="res://UI/health_bar_2d.gd" id="1_qpj2g"]
|
||
|
|
|
||
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qpj2g"]
|
||
|
|
bg_color = Color(0.341176, 0.0823529, 0.0941176, 0)
|
||
|
|
border_width_left = 2
|
||
|
|
border_width_top = 2
|
||
|
|
border_width_right = 2
|
||
|
|
border_width_bottom = 2
|
||
|
|
expand_margin_left = 4.0
|
||
|
|
expand_margin_top = 4.0
|
||
|
|
expand_margin_right = 4.0
|
||
|
|
expand_margin_bottom = 4.0
|
||
|
|
|
||
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xcn5x"]
|
||
|
|
bg_color = Color(0.921569, 0.419608, 0.415686, 1)
|
||
|
|
|
||
|
|
[node name="HealthBar2D" type="ProgressBar"]
|
||
|
|
custom_minimum_size = Vector2(100, 10)
|
||
|
|
offset_left = 4.0
|
||
|
|
offset_top = 4.0
|
||
|
|
offset_right = 104.0
|
||
|
|
offset_bottom = 14.0
|
||
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_qpj2g")
|
||
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_xcn5x")
|
||
|
|
value = 50.0
|
||
|
|
show_percentage = false
|
||
|
|
script = ExtResource("1_qpj2g")
|