- Connect overlay_show_requested/overlay_hide_requested signals in Game.tscn to new handlers in MainGame.gd that call show_overlay()/hide_overlay() - Simplify backpack to fixed 70x70 position at top-left (layout_mode=0) - Remove broken anchor overrides from Game.tscn that were anchoring to bottom
29 lines
828 B
Plaintext
29 lines
828 B
Plaintext
[gd_scene format=3 uid="uid://1406xmcnkygw0"]
|
|
|
|
[ext_resource type="Script" uid="uid://2x3g0ethsdcgo" path="res://inventory/inventory_backpack/InventoryBackpack.gd" id="1"]
|
|
|
|
[node name="InventoryBackpack" type="Control" unique_id=1000000001]
|
|
layout_mode = 0
|
|
offset_right = 70.0
|
|
offset_bottom = 70.0
|
|
script = ExtResource("1")
|
|
|
|
[node name="BackpackIcon" type="ColorRect" parent="." unique_id=1000000002]
|
|
layout_mode = 0
|
|
offset_left = 0.0
|
|
offset_top = 0.0
|
|
offset_right = 60.0
|
|
offset_bottom = 60.0
|
|
color = Color(0.4, 0.6, 0.9, 1)
|
|
|
|
[node name="FloatingItem" type="ColorRect" parent="." unique_id=1000000003]
|
|
layout_mode = 0
|
|
offset_left = 20.0
|
|
offset_top = -30.0
|
|
offset_right = 50.0
|
|
offset_bottom = 0.0
|
|
color = Color(1, 0.6, 0.2, 1)
|
|
visible = false
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1000000004]
|