fix: wire backpack signals and simplify positioning

- 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
This commit is contained in:
2026-04-26 21:51:16 -07:00
parent d94912bb79
commit 378bcdda47
3 changed files with 11 additions and 14 deletions

View File

@@ -3,11 +3,8 @@
[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 = 3
anchors_preset = 2
anchor_right = 1.0
offset_top = 10.0
offset_right = -70.0
layout_mode = 0
offset_right = 70.0
offset_bottom = 70.0
script = ExtResource("1")