SchildDerStaerke/packed-scenes/ui.tscn

63 lines
1.6 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://d1vowjv6aed2s"]
[ext_resource type="Script" path="res://scripts/ui.gd" id="1_ccvhj"]
[ext_resource type="Texture2D" uid="uid://dusuxbeon1rsm" path="res://resources/images/white1x1.png" id="1_epsdw"]
[ext_resource type="Theme" uid="uid://b3faaa6kmpthu" path="res://resources/themes/standard_theme.tres" id="2_idm21"]
[node name="UI" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ccvhj")
[node name="Health" type="TextureProgressBar" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 16.0
offset_top = -24.0
offset_right = 316.0
offset_bottom = -14.0
grow_vertical = 0
theme = ExtResource("2_idm21")
value = 67.0
nine_patch_stretch = true
texture_under = ExtResource("1_epsdw")
texture_progress = ExtResource("1_epsdw")
tint_progress = Color(1, 0, 0, 1)
[node name="Stamina" type="TextureProgressBar" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 16.0
offset_top = -40.0
offset_right = 316.0
offset_bottom = -30.0
grow_vertical = 0
theme = ExtResource("2_idm21")
value = 67.0
nine_patch_stretch = true
texture_under = ExtResource("1_epsdw")
texture_progress = ExtResource("1_epsdw")
tint_progress = Color(0.203922, 0, 1, 1)
[node name="Gold" type="Label" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 16.0
offset_top = -72.0
offset_right = 316.0
offset_bottom = -49.0
grow_vertical = 0
theme = ExtResource("2_idm21")
text = "Gold: 0"
vertical_alignment = 1