reduced VRAM load by more than 50%

This commit is contained in:
2025-07-02 17:54:23 +02:00
parent bcdba7b812
commit c36d0b5866
15 changed files with 164 additions and 1452 deletions
+54 -6
View File
@@ -1,11 +1,13 @@
[gd_scene load_steps=7 format=3 uid="uid://cgjc4wurbgimy"]
[gd_scene load_steps=9 format=3 uid="uid://cgjc4wurbgimy"]
[ext_resource type="Script" uid="uid://hg7jay2kt441" path="res://scripts/CSharp/Common/Inventory/InventoryUi.cs" id="1_6wusm"]
[ext_resource type="Texture2D" uid="uid://3ln8aleyxgp1" path="res://art/ui/UI/UI_bag_export_01.png" id="3_vvo7l"]
[ext_resource type="Texture2D" uid="uid://dcidjcsqk12p1" path="res://art/ui/UI/UI_bag_export_02.png" id="4_df8i8"]
[ext_resource type="Texture2D" uid="uid://c7wqla0mbu3np" path="res://art/ui/babushka_ui_tmp_inventory_select.png" id="4_tiss4"]
[ext_resource type="Texture2D" uid="uid://u0dku75l17re" path="res://art/ui/UI/UI_bag_export_highlight_01.png" id="5_df8i8"]
[ext_resource type="PackedScene" uid="uid://c0kmdjeqkqrwv" path="res://prefabs/UI/Inventory/Slot.tscn" id="5_u7kje"]
[ext_resource type="Script" uid="uid://cvkw4qd2hxksi" path="res://scripts/GdScript/dialogic_toggle.gd" id="6_n5apg"]
[ext_resource type="Texture2D" uid="uid://bag1xalfh731d" path="res://art/ui/UI/UI_bag_export_highlight_02.png" id="6_u7kje"]
[ext_resource type="Texture2D" uid="uid://cxptule8n38ph" path="res://art/ui/UI/UI_bag_export_highlight_03.png" id="7_l3npx"]
[node name="CanvasLayer" type="CanvasLayer"]
layer = 90
@@ -90,8 +92,9 @@ layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -305.0
offset_right = 303.0
offset_left = 350.0
offset_right = 254.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
@@ -103,6 +106,9 @@ layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -350.0
offset_right = -446.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
@@ -115,11 +121,53 @@ layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -142.429
offset_top = 1.85717
offset_right = -808.428
offset_bottom = -774.143
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1.7, 1.7)
mouse_filter = 2
texture = ExtResource("4_df8i8")
expand_mode = 3
texture = ExtResource("5_df8i8")
expand_mode = 1
stretch_mode = 3
flip_h = true
[node name="TextureRect4" type="TextureRect" parent="Inventory/SlotsContainer/SlotsMover/BackgroundContainer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 303.286
offset_top = 209.0
offset_right = -362.714
offset_bottom = -567.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1.7, 1.7)
mouse_filter = 2
texture = ExtResource("6_u7kje")
expand_mode = 1
stretch_mode = 3
flip_h = true
[node name="TextureRect5" type="TextureRect" parent="Inventory/SlotsContainer/SlotsMover/BackgroundContainer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 474.714
offset_top = 754.714
offset_right = -191.286
offset_bottom = -21.2858
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1.7, 1.7)
mouse_filter = 2
texture = ExtResource("7_l3npx")
expand_mode = 1
stretch_mode = 3
flip_h = true
[node name="Slots" type="Control" parent="Inventory/SlotsContainer/SlotsMover"]