Commit Graph

12 Commits

Author SHA1 Message Date
syedm bf1171a775 Refactor input handling: replace hardcoded key inputs with configurable key bindings for character movement, inventory navigation, and actions; enhance settings scene with key rebind functionality and add credits scene. 2026-04-03 14:46:35 +01:00
syedm 5814a1fdee Final commit (i think) 2026-04-03 02:53:01 +01:00
syedm 222b28d196 Add new assets and implement minimap functionality
- Added new image assets for game over screens: `game_over_dead_bg.png`, `game_over_victory_bg.png`, and their respective Aseprite files.
- Introduced a new `Minimap` class to manage torch placement and rendering on the minimap.
- Implemented methods for adding and removing torches, updating the grid area, and drawing the minimap based on the current state of the game.
- Enhanced the minimap display with color coding for walls, empty spaces, and torches.
2026-04-03 02:51:11 +01:00
syedm b325b35c88 Implement logging system: add GameLogger class for managing log messages, integrate logging in HUDLayer and ShrodingersMine for enhanced gameplay feedback. 2026-04-03 00:38:27 +01:00
syedm 7c35419026 Implement traps system: add Trap, Landmine, and EventHorizon classes with collision detection and interaction logic; integrate trap handling in the game scene and enemy AI. 2026-04-02 22:46:24 +01:00
syedm db7c2aa7a2 Enhance game over scene: implement GameOver class with options for retry and main menu, add background image, and handle mouse and keyboard interactions. 2026-04-02 15:33:50 +01:00
syedm 32de437f86 Implement health bar system: add HealthBar class for managing health, integrate health updates in HUDLayer, and modify enemy attack handling to reflect damage taken. 2026-03-30 20:43:06 +00:00
syedm 0369d24338 Refactor enemy system: enhance EnemyAI with attack cooldown, update Force class to handle damage, and improve EnemyHandler for enemy removal; add OccamsRazor weapon with attack mechanics. 2026-03-30 19:39:43 +00:00
syedm 3dbeadf976 Refactor debug checks to use event bus settings for consistency across game components. 2026-03-28 23:24:09 +00:00
syedm 1fbd12e6f6 Refactor props handling and inventory logic; add ghost prop preview 2026-03-28 23:07:42 +00:00
syedm 9b0d29555b Refactor crafting logic in Inventory class; improve resource checks and fit calculations 2026-03-28 20:49:57 +00:00
syedm f54679de61 Refactor game state and HUD:
- Removed the State class as it was no longer needed.
- Updated the MazeData class to improve output formatting.
- Added new assets for HUD background and foreground.
- Implemented Inventory class to manage crafting and item selection.
- Created HUDLayer class to handle drawing the HUD and inventory interactions.
2026-03-28 20:46:32 +00:00