mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 09:45:33 +00:00
Item Notifications
This commit is contained in:
parent
fc35baeaba
commit
0438ed4a04
8 changed files with 98 additions and 25 deletions
22
Scenes/HUD/ItemNotification.tscn
Normal file
22
Scenes/HUD/ItemNotification.tscn
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cq342rj7ibnqy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bysbukjjv8nc2" path="res://Scripts/UI/ItemNotification.cs" id="1_g1ix0"]
|
||||
[ext_resource type="Texture2D" uid="uid://duwiasewxvcb5" path="res://Sprites/Items/Icicle_Gun.png" id="2_5xd0r"]
|
||||
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="3_lpbqr"]
|
||||
|
||||
[node name="ItemNotification" type="HBoxContainer" node_paths=PackedStringArray("Icon", "DescriptionLabel")]
|
||||
offset_right = 35.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_constants/separation = 0
|
||||
script = ExtResource("1_g1ix0")
|
||||
Icon = NodePath("ItemIcon")
|
||||
DescriptionLabel = NodePath("Label")
|
||||
|
||||
[node name="ItemIcon" type="TextureRect" parent="."]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_5xd0r")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "Asdfg"
|
||||
label_settings = ExtResource("3_lpbqr")
|
||||
Loading…
Add table
Add a link
Reference in a new issue