71 lines
2.1 KiB
Plaintext
71 lines
2.1 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://assets/Fonts/QuinqueFive.tres" type="DynamicFont" id=1]
|
|
[ext_resource path="res://assets/UI/Staminabar-Indicator.png" type="Texture" id=2]
|
|
[ext_resource path="res://assets/UI/Healthbar.png" type="Texture" id=3]
|
|
[ext_resource path="res://assets/UI/Healthbar-Indicator.png" type="Texture" id=4]
|
|
[ext_resource path="res://src/ui/HealthBar.gd" type="Script" id=5]
|
|
[ext_resource path="res://src/ui/SelectedInventoryItems.gd" type="Script" id=6]
|
|
[ext_resource path="res://src/ui/StaminaBar.gd" type="Script" id=7]
|
|
[ext_resource path="res://src/ui/PlayerHUD.gd" type="Script" id=8]
|
|
|
|
[node name="PlayerHUD" type="Control"]
|
|
margin_right = 320.0
|
|
margin_bottom = 180.0
|
|
script = ExtResource( 8 )
|
|
|
|
[node name="HealthBar" type="TextureProgress" parent="."]
|
|
unique_name_in_owner = true
|
|
margin_left = 2.0
|
|
margin_top = 2.0
|
|
margin_right = 104.0
|
|
margin_bottom = 14.0
|
|
value = 50.0
|
|
texture_under = ExtResource( 3 )
|
|
texture_progress = ExtResource( 4 )
|
|
texture_progress_offset = Vector2( 1, 1 )
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="StaminaBar" type="TextureProgress" parent="."]
|
|
unique_name_in_owner = true
|
|
margin_left = 2.0
|
|
margin_top = 14.0
|
|
margin_right = 104.0
|
|
margin_bottom = 26.0
|
|
value = 50.0
|
|
texture_under = ExtResource( 3 )
|
|
texture_progress = ExtResource( 2 )
|
|
texture_progress_offset = Vector2( 1, 1 )
|
|
script = ExtResource( 7 )
|
|
|
|
[node name="SelectedInventoryItems" type="HBoxContainer" parent="."]
|
|
unique_name_in_owner = true
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_top = -16.0
|
|
margin_right = 46.0
|
|
rect_clip_content = true
|
|
script = ExtResource( 6 )
|
|
|
|
[node name="PrimaryItem" type="TextureRect" parent="SelectedInventoryItems"]
|
|
margin_bottom = 16.0
|
|
|
|
[node name="Label" type="Label" parent="SelectedInventoryItems/PrimaryItem"]
|
|
margin_right = 20.0
|
|
margin_bottom = 10.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
align = 2
|
|
valign = 2
|
|
|
|
[node name="SecondaryItem" type="TextureRect" parent="SelectedInventoryItems"]
|
|
margin_left = 4.0
|
|
margin_right = 4.0
|
|
margin_bottom = 16.0
|
|
|
|
[node name="Label" type="Label" parent="SelectedInventoryItems/SecondaryItem"]
|
|
margin_right = 20.0
|
|
margin_bottom = 10.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
align = 2
|
|
valign = 2
|