From 35bc81839911fd30caae12cce71c3db5157f7be7 Mon Sep 17 00:00:00 2001 From: Zacharie Guet Date: Fri, 26 Sep 2025 09:47:06 +0200 Subject: [PATCH] =?UTF-8?q?item=20s=C3=A9l=C3=A9ctionn=C3=A9=20plus=20clai?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventory_item/inventory_gui_item.tscn | 51 ++++++++++++++----- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/gui/game/inventory_gui/inventory_item/inventory_gui_item.tscn b/gui/game/inventory_gui/inventory_item/inventory_gui_item.tscn index 465b93b..7843efa 100644 --- a/gui/game/inventory_gui/inventory_item/inventory_gui_item.tscn +++ b/gui/game/inventory_gui/inventory_item/inventory_gui_item.tscn @@ -16,6 +16,33 @@ _data = { &"squish": SubResource("Animation_x2pqk") } +[sub_resource type="Animation" id="Animation_k17ff"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("BottomSpace:custom_minimum_size") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(0, 0)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("CenterContainer/TextureRect:modulate") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Color(0.27058825, 0.27058825, 0.27058825, 1)] +} + [sub_resource type="Animation" id="Animation_m0ja8"] resource_name = "selected" length = 0.2 @@ -31,20 +58,17 @@ tracks/0/keys = { "update": 0, "values": [Vector2(0, 0), Vector2(0, 15)] } - -[sub_resource type="Animation" id="Animation_k17ff"] -length = 0.001 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("BottomSpace:custom_minimum_size") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("CenterContainer/TextureRect:modulate") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 0.2), +"transitions": PackedFloat32Array(1, 1), "update": 0, -"values": [Vector2(0, 0)] +"values": [Color(0.27022192, 0.27022192, 0.2702219, 1), Color(1, 1, 1, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_2wu2x"] @@ -97,6 +121,7 @@ stretch_mode = 5 [node name="TextureRect" type="TextureRect" parent="CenterContainer"] unique_name_in_owner = true +modulate = Color(0.27058825, 0.27058825, 0.27058825, 1) custom_minimum_size = Vector2(48, 48) layout_mode = 2 texture = ExtResource("2_xs0u7")