[gd_scene load_steps=6 format=3 uid="uid://6jpnl6c4fdvo"] [ext_resource type="Script" path="res://player/hud/HUDComponent.gd" id="1_vynft"] [ext_resource type="Texture2D" uid="uid://d2rig4p2dfy30" path="res://assets/ui/bar-green.png" id="2_ad7qf"] [ext_resource type="Script" path="res://player/hud/HealthBar.gd" id="3_61bgt"] [ext_resource type="Texture2D" uid="uid://deopmcycal0aq" path="res://assets/ui/bar-yellow.png" id="4_5dl20"] [ext_resource type="Texture2D" uid="uid://cjg6cgv6hvnd" path="res://assets/ui/bar-red.png" id="5_3x8xp"] [node name="HUD" type="Sprite3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.83994, 0) pixel_size = 0.003 billboard = 1 region_rect = Rect2(0, 0, 84, 26) script = ExtResource("1_vynft") [node name="SubViewport" type="SubViewport" parent="."] disable_3d = true transparent_bg = true size = Vector2i(200, 26) [node name="HealthBar" type="TextureProgressBar" parent="SubViewport"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 max_value = 1.0 step = 0.0 value = 1.0 texture_progress = ExtResource("2_ad7qf") script = ExtResource("3_61bgt") high = ExtResource("2_ad7qf") medium = ExtResource("4_5dl20") low = ExtResource("5_3x8xp")