breadwinner/scenes/player/player_ui.tscn
Balogh Krisztián eb197412dd minor optimization and bit more mechanics
title says all.
still need to do the connection between the player.gd and its components
breathing sounds weird becausae for some reason it stops playing the audiostream when it shouldnt???????????????? im really confused
2026-07-29 13:52:14 +02:00

73 lines
2.2 KiB
Text

[gd_scene format=3 uid="uid://bsccbqq04umeg"]
[ext_resource type="Script" uid="uid://lkb0o8too0mj" path="res://scenes/player/player_ui_manager.gd" id="1_32d7b"]
[node name="PlayerUi" type="Control" unique_id=454848358]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
offset_transform_enabled = true
script = ExtResource("1_32d7b")
[node name="StaminaBar" type="ProgressBar" parent="." unique_id=1844702202]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.05
anchor_top = 0.91
anchor_right = 0.2
anchor_bottom = 0.95
grow_vertical = 0
rotation = -0.39618975
offset_transform_enabled = true
show_percentage = false
[node name="InventoryPanels" type="HBoxContainer" parent="." unique_id=786436241]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.35
anchor_top = 0.9
anchor_right = 0.65
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 0
offset_transform_enabled = true
offset_transform_position = Vector2(0, -29.25)
offset_transform_visual_only = false
alignment = 1
[node name="Inv1" type="AspectRatioContainer" parent="InventoryPanels" unique_id=1895925047]
layout_mode = 2
size_flags_horizontal = 3
[node name="InvSlot1" type="ColorRect" parent="InventoryPanels/Inv1" unique_id=497482827]
unique_name_in_owner = true
custom_minimum_size = Vector2(60, 60)
layout_mode = 2
size_flags_horizontal = 3
color = Color(0.23921569, 0.23921569, 0.23921569, 0.47058824)
[node name="Inv2" type="AspectRatioContainer" parent="InventoryPanels" unique_id=352737813]
layout_mode = 2
size_flags_horizontal = 3
[node name="InvSlot2" type="ColorRect" parent="InventoryPanels/Inv2" unique_id=340220249]
unique_name_in_owner = true
custom_minimum_size = Vector2(60, 60)
layout_mode = 2
size_flags_horizontal = 3
color = Color(0.23921569, 0.23921569, 0.23921569, 0.47058824)
[node name="Inv3" type="AspectRatioContainer" parent="InventoryPanels" unique_id=263461479]
layout_mode = 2
size_flags_horizontal = 3
[node name="InvSlot3" type="ColorRect" parent="InventoryPanels/Inv3" unique_id=398133665]
unique_name_in_owner = true
custom_minimum_size = Vector2(60, 60)
layout_mode = 2
size_flags_horizontal = 3
color = Color(0.23921569, 0.23921569, 0.23921569, 0.47058824)