[gd_scene load_steps=7 format=3] [ext_resource type="Script" path="res://ui/hud/player_health_hud.gd" id="1_hud"] [ext_resource type="Script" path="res://ui/editor_ui_visibility.gd" id="editor_ui_visibility"] [ext_resource type="Script" path="res://ui/hud/thrash_meter.gd" id="meter"] [ext_resource type="Theme" path="res://ui/hud/thrash_hud_theme.tres" id="theme"] [ext_resource type="Texture2D" path="res://assets/ui/hud/thrash_plate.svg" id="plate"] [ext_resource type="Texture2D" path="res://assets/ui/hud/thrash_skull.svg" id="skull"] [node name="PlayerHealthHUD" type="CanvasLayer"] layer = 90 script = ExtResource("1_hud") [node name="EditorVisibility" type="Node" parent="."] script = ExtResource("editor_ui_visibility") [node name="HUD" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme = ExtResource("theme") [node name="Frame" type="TextureRect" parent="HUD"] layout_mode = 0 offset_left = 18.0 offset_top = 18.0 offset_right = 362.0 offset_bottom = 82.0 mouse_filter = 2 texture = ExtResource("plate") expand_mode = 1 [node name="Emblem" type="TextureRect" parent="HUD"] layout_mode = 0 offset_left = 29.0 offset_top = 26.0 offset_right = 69.0 offset_bottom = 66.0 mouse_filter = 2 texture = ExtResource("skull") expand_mode = 1 [node name="Title" type="Label" parent="HUD"] layout_mode = 0 offset_left = 84.0 offset_top = 25.0 offset_right = 152.0 offset_bottom = 45.0 mouse_filter = 2 text = "VIDA" vertical_alignment = 1 [node name="WarningLabel" type="Label" parent="HUD"] visible = false layout_mode = 0 offset_left = 154.0 offset_top = 25.0 offset_right = 212.0 offset_bottom = 45.0 mouse_filter = 2 theme_override_colors/font_color = Color(1, 0.52, 0.42, 1) theme_override_font_sizes/font_size = 8 text = "PELIGRO" horizontal_alignment = 1 vertical_alignment = 1 [node name="HealthBar" type="ProgressBar" parent="HUD"] layout_mode = 0 offset_left = 84.0 offset_top = 48.0 offset_right = 346.0 offset_bottom = 68.0 mouse_filter = 2 max_value = 50.0 value = 50.0 show_percentage = false script = ExtResource("meter") fill_color = Color(0.84, 0.18, 0.25, 1) segment_count = 12 [node name="HealthLabel" type="Label" parent="HUD/HealthBar"] layout_mode = 0 offset_left = 132.0 offset_top = -23.0 offset_right = 262.0 offset_bottom = -3.0 mouse_filter = 2 text = "50 / 50" horizontal_alignment = 2 vertical_alignment = 1 [node name="EffectsLabel" type="Label" parent="HUD"] visible = false layout_mode = 0 offset_left = 22.0 offset_top = 160.0 offset_right = 362.0 offset_bottom = 300.0 mouse_filter = 2 theme_override_colors/font_color = Color(0.85, 0.9, 0.64, 1) theme_override_font_sizes/font_size = 16 text = "" horizontal_alignment = 0 vertical_alignment = 0