79f152f161
fix: correct overlay node path in MainGame signal handlers
2026-04-26 21:53:33 -07:00
88b4ce3e14
fix: wire backpack signals to root Node2D instead of HUD CanvasLayer
2026-04-26 21:52:51 -07:00
09b96360f8
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
2026-04-26 21:51:16 -07:00
374710ce61
fix: bind callbacks before passing to tween_callback, tighten backpack hitbox
...
- Godot 4's CallbackTweener doesn't have .bind() — move .bind() call
inside tween_callback() for 3 callback sites
- Shrink InventoryBackpack Control to 60x60 (offset_right -70) so click
area matches the visible BackpackIcon square
2026-04-26 21:46:55 -07:00
dd4bd87f90
fix: make inventory backpack visible by instancing in Game.tscn and fixing Tween API
...
- Add InventoryBackpack under HUD CanvasLayer (layer 5) in Game.tscn
- Add InventoryOverlay under InventoryOverlayLayer CanvasLayer (layer 10)
- Fix Tween.TRANS_SINE_IN -> .set_trans(TRANS_SINE).set_ease(EASE_IN) in
InventoryBackpack.gd (Godot 4.6 split transition and easing APIs)
2026-04-26 21:46:03 -07:00
56710afc12
chore: update opencode package-lock.json
2026-04-26 21:22:13 -07:00
2f91563096
feat: add untracked inventory files from previous session
...
- ItemDefinition.gd: Resource class with id, name, combination_category
- ItemDefinition.gd.uid: UID cache file
- InventoryManager.gd.uid: UID cache file (script was committed, UID was not)
- inventory-prd.md: Original product requirements document (791 lines)
- docs/plans/2026-04-26-001-feat-inventory-backpack-system-plan.md:
Implementation plan with 6 units and 5 user-directed edits
2026-04-26 21:22:07 -07:00
35c2887011
fix: remove class_name from InventoryManager to avoid autoload name conflict
2026-04-26 21:20:24 -07:00
5b2670f08c
feat: register InventoryManager as AutoLoad singleton
2026-04-26 21:10:47 -07:00
8661fbad15
feat: integrate inventory with cursor system, scene input, and GameScript
...
- ActionState: add ITEM action (value 4) to enum and get_action_name()
- MainGame: right-click cycles through all 5 actions including ITEM;
skips ITEM if nothing selected; clears selection when cycling away
- Scene: guard _unhandled_input() against active inventory overlay;
handle ITEM action for world-wide item use; add give_item(),
remove_item(), strip_items() helper methods
- SetPiece: handle ITEM action by calling scene's _use_item_on_setpiece()
- GameScript: add GiveItem and GiveItemDeferred script step classes
for item acquisition during cutscenes
2026-04-26 21:10:39 -07:00
975b51a2b5
feat: implement InventoryBackpack FSM and InventoryOverlay
...
- InventoryBackpack: Control-based FSM with IDLE/OPEN/SELECTED/ACQUIRE/REMOVE
states, Tween-based animations, guard condition checks, signal connections
to InventoryManager for item_acquired/item_removed reactions
- InventoryOverlay: Full-screen overlay with fade-in/out, item grid via
GridContainer, drag-and-drop item selection, combination via drag-to-slot,
hover labels, right-click inspect
- InventorySlot: Individual slot with colored box placeholder, hover highlight,
click/right-click/hover signals
2026-04-26 21:09:50 -07:00
1465104b98
merged
2026-04-22 23:04:44 -07:00
5ae9ff1f17
changes
2026-04-22 22:38:53 -07:00
0ec2f52172
interior
2026-04-18 12:32:13 -07:00
18bfeb9bcc
cleans up connections
2026-04-18 12:03:51 -07:00
5f144fb5d7
transition work
2026-04-09 10:32:30 -07:00
5e9fb9251e
line endings
2026-04-08 17:12:23 -07:00
e8982ba4ef
changes
2026-04-08 17:11:03 -07:00
5613ae1d8c
deleting bad
2026-04-08 15:26:56 -07:00
c0db909092
removing problematic files
2026-04-08 15:26:26 -07:00
078caadd0c
Remove .lfsconfig - using per-remote LFS config instead
2026-04-07 17:21:42 -07:00
baf18dcb5f
changes
2026-04-07 10:50:55 -07:00
6a64717c9d
changes
2026-04-05 23:11:56 -07:00
351af5ad47
Update room backgrounds to high-res caption images and fix scaling
2026-04-05 08:22:25 -07:00
7b5ce2e4a5
changes
2026-04-05 08:02:34 -07:00
13519580c7
update kq4_084_cottage_front to extend Scene
2026-04-05 00:49:43 -07:00
8a4fc4e81b
update kq4_083_castle_dungeon_cell to extend Scene
2026-04-05 00:49:16 -07:00
a61c6777a0
update kq4_082_lolottes_tower_bedroom to extend Scene
2026-04-05 00:48:49 -07:00
062d18bde1
update kq4_081_edgars_tower_bedroom to extend Scene
2026-04-05 00:48:27 -07:00
37b41caf7a
update kq4_079_mountain_path_to_dark_castle to extend Scene
2026-04-04 22:09:52 -07:00
191ae85723
update kq4_078_swamp_island to extend Scene
2026-04-04 22:09:23 -07:00
c7e69321ca
update kq4_077_swamp to extend Scene
2026-04-04 22:08:55 -07:00
e0ac4a4a55
update kq4_076_dark_chasm to extend Scene
2026-04-04 22:08:25 -07:00
158ae4f531
update kq4_075_troll_cave_passage to extend Scene
2026-04-04 22:07:53 -07:00
c55861349b
update kq4_074_troll_cave to extend Scene
2026-04-04 22:07:18 -07:00
12b3246c6e
update kq4_073_cave_exit to extend Scene
2026-04-04 22:06:50 -07:00
db6483def2
update kq4_072_dark_cave_passage to extend Scene
2026-04-04 22:06:24 -07:00
2f593e88c7
update kq4_071_cave_entrance to extend Scene
2026-04-04 22:05:56 -07:00
0350c51969
update kq4_070_waterfall_cave to extend Scene
2026-04-04 22:00:13 -07:00
6c2d2bfb5d
update kq4_069_the_crypt to extend Scene
2026-04-04 21:58:00 -07:00
86e1bcc110
update kq4_067_the_parlor to extend Scene
2026-04-04 21:56:06 -07:00
f98a8599af
update kq4_066_secret_tower to extend Scene
2026-04-04 21:53:54 -07:00
e7c5f396b4
update kq4_065_old_kitchen to extend Scene
2026-04-04 21:51:47 -07:00
38cf221d5f
update kq4_064_old_dining_room to extend Scene
2026-04-04 21:49:51 -07:00
af64995d78
update kq4_063_attic to extend Scene
2026-04-04 21:47:51 -07:00
0d447bd959
update kq4_062_bedroom to extend Scene
2026-04-04 21:12:53 -07:00
0408d0c269
update kq4_061_tower_stairs to extend Scene
2026-04-04 21:11:04 -07:00
c6198bccbb
update kq4_060_bedroom to extend Scene
2026-04-04 21:09:30 -07:00
4e4be60026
update kq4_059_baby_nursery to extend Scene
2026-04-04 21:07:53 -07:00
fade507a91
update kq4_058_organ_room to extend Scene
2026-04-04 21:06:18 -07:00