97 lines
2.7 KiB
Plaintext
97 lines
2.7 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://defhc376y3h1d"]
|
|
|
|
[ext_resource type="Script" path="res://UI/Inventory/InventorySlot.gd" id="1_pltri"]
|
|
[ext_resource type="FontFile" uid="uid://dj4pldmxeqmtt" path="res://UI/PressStart2P-Regular.ttf" id="1_wew62"]
|
|
[ext_resource type="Texture2D" uid="uid://cgtkkroa583fo" path="res://TileSets/Stuff.png" id="2_mxhl7"]
|
|
[ext_resource type="Texture2D" uid="uid://4txm3cwkoncp" path="res://UI/Inventory/circle_progress.png" id="3_5flhr"]
|
|
|
|
[sub_resource type="Animation" id="Animation_wthnv"]
|
|
resource_name = "blink"
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:self_modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5, 1),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_b5fyj"]
|
|
_data = {
|
|
"blink": SubResource("Animation_wthnv")
|
|
}
|
|
|
|
[node name="InventorySlot" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_pltri")
|
|
|
|
[node name="AmmoLabel" type="Label" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 12.0
|
|
offset_top = -26.0
|
|
offset_right = 28.0
|
|
offset_bottom = -7.0
|
|
theme_override_fonts/font = ExtResource("1_wew62")
|
|
theme_override_font_sizes/font_size = 0
|
|
text = "1"
|
|
|
|
[node name="ToolbarSlot" type="Sprite2D" parent="."]
|
|
scale = Vector2(4, 4)
|
|
texture = ExtResource("2_mxhl7")
|
|
region_enabled = true
|
|
region_rect = Rect2(80, 144, 16, 16)
|
|
|
|
[node name="ItemSelector" type="Sprite2D" parent="."]
|
|
visible = false
|
|
modulate = Color(0.054902, 0.290196, 0.258824, 1)
|
|
self_modulate = Color(1, 1, 1, 0.822247)
|
|
scale = Vector2(4, 4)
|
|
texture = ExtResource("2_mxhl7")
|
|
region_enabled = true
|
|
region_rect = Rect2(64, 144, 16, 16)
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="ItemSelector"]
|
|
autoplay = "blink"
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_b5fyj")
|
|
}
|
|
|
|
[node name="SlotLabel" type="Label" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = -51.0
|
|
offset_top = -58.0
|
|
offset_right = 61.0
|
|
offset_bottom = -35.0
|
|
theme_override_fonts/font = ExtResource("1_wew62")
|
|
theme_override_font_sizes/font_size = 0
|
|
text = "ItemName"
|
|
vertical_alignment = 2
|
|
|
|
[node name="ReloadBar" type="TextureProgressBar" parent="."]
|
|
layout_mode = 0
|
|
offset_left = -32.0
|
|
offset_top = -32.0
|
|
offset_right = 32.0
|
|
offset_bottom = 32.0
|
|
fill_mode = 4
|
|
texture_under = ExtResource("3_5flhr")
|
|
texture_progress = ExtResource("3_5flhr")
|
|
tint_under = Color(1, 1, 1, 0)
|
|
tint_progress = Color(0.254902, 0.654902, 0.407843, 0.588235)
|
|
|
|
[node name="ItemImage" type="Sprite2D" parent="."]
|