SchildDerStaerke/packed-scenes/enemy_overlay.tscn

67 lines
2.1 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://drqvds1bphrkc"]
[ext_resource type="Theme" uid="uid://b3faaa6kmpthu" path="res://resources/themes/standard_theme.tres" id="3_i7stp"]
[ext_resource type="Texture2D" uid="uid://cfpd0yrkim75s" path="res://resources/images/UI Adventure Pack/barBack_horizontalMid.png" id="4_ju0eb"]
[ext_resource type="Texture2D" uid="uid://cqmtg3wvsj5vm" path="res://resources/images/UI Adventure Pack/barRed_horizontalMid.png" id="5_iwh4e"]
[ext_resource type="Texture2D" uid="uid://dfmtg8n4b5b0j" path="res://resources/images/UI Adventure Pack/barBlue_horizontalBlue.png" id="6_ajf2g"]
[node name="SubViewportContainer" type="SubViewportContainer"]
offset_right = 300.0
offset_bottom = 100.0
[node name="EnemyOverlay" type="SubViewport" parent="."]
transparent_bg = true
handle_input_locally = false
size = Vector2i(150, 50)
render_target_update_mode = 4
[node name="Stats" type="VBoxContainer" parent="EnemyOverlay"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -54.5
offset_top = -14.0
offset_right = 54.5
offset_bottom = 14.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Name" type="Label" parent="EnemyOverlay/Stats"]
layout_mode = 2
theme = ExtResource("3_i7stp")
text = "[Enemy Name]
"
horizontal_alignment = 1
[node name="Clocks" type="HBoxContainer" parent="EnemyOverlay/Stats"]
layout_mode = 2
size_flags_vertical = 3
[node name="TextureProgressBarHealth" type="TextureProgressBar" parent="EnemyOverlay/Stats/Clocks"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
tooltip_text = "Health"
value = 67.0
nine_patch_stretch = true
stretch_margin_top = 5
stretch_margin_bottom = 5
texture_under = ExtResource("4_ju0eb")
texture_progress = ExtResource("5_iwh4e")
[node name="TextureProgressBarStamina" type="TextureProgressBar" parent="EnemyOverlay/Stats/Clocks"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
tooltip_text = "Stamina"
value = 33.0
nine_patch_stretch = true
stretch_margin_top = 5
stretch_margin_bottom = 5
texture_under = ExtResource("4_ju0eb")
texture_progress = ExtResource("6_ajf2g")