cirnogodot/Scenes/HUD/HudItemContainer.tscn

34 lines
1.3 KiB
Text
Raw Normal View History

2025-03-05 18:55:30 +01:00
[gd_scene load_steps=5 format=3 uid="uid://cd3ee1adstcrw"]
[ext_resource type="Script" uid="uid://chqjrv7wqk6ej" path="res://Scripts/UI/WeaponAmmoCounter.cs" id="1_pwei3"]
[ext_resource type="Texture2D" uid="uid://duwiasewxvcb5" path="res://Sprites/Items/Icicle_Gun.png" id="2_pqw4t"]
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="3_a6rek"]
[ext_resource type="Texture2D" uid="uid://c5g0qg6u2gm6f" path="res://Sprites/Items/Ammo1.png" id="4_kbanm"]
2025-03-06 15:03:14 +01:00
[node name="HudItemContainer" type="HBoxContainer" node_paths=PackedStringArray("Icon", "AmmoIcon", "TotalAmmoLabel", "LoadedAmmoLabel")]
offset_right = 40.0
2025-03-05 18:55:30 +01:00
offset_bottom = 16.0
theme_override_constants/separation = 0
2025-03-06 15:03:14 +01:00
script = ExtResource("1_pwei3")
Icon = NodePath("WeaponIcon")
AmmoIcon = NodePath("Ammo Icon")
TotalAmmoLabel = NodePath("TotalAmmo")
LoadedAmmoLabel = NodePath("LoadedAmmo")
2025-03-05 18:55:30 +01:00
2025-03-06 15:03:14 +01:00
[node name="WeaponIcon" type="TextureRect" parent="."]
2025-03-05 18:55:30 +01:00
layout_mode = 2
texture = ExtResource("2_pqw4t")
2025-03-06 15:03:14 +01:00
[node name="LoadedAmmo" type="Label" parent="."]
2025-03-05 18:55:30 +01:00
layout_mode = 2
2025-03-05 19:09:12 +01:00
text = "0"
2025-03-05 18:55:30 +01:00
label_settings = ExtResource("3_a6rek")
2025-03-06 15:03:14 +01:00
[node name="Ammo Icon" type="TextureRect" parent="."]
2025-03-05 18:55:30 +01:00
layout_mode = 2
texture = ExtResource("4_kbanm")
2025-03-06 15:03:14 +01:00
[node name="TotalAmmo" type="Label" parent="."]
2025-03-05 18:55:30 +01:00
layout_mode = 2
2025-03-05 19:09:12 +01:00
text = "0"
2025-03-05 18:55:30 +01:00
label_settings = ExtResource("3_a6rek")