Commit Graph

11 Commits

Author SHA1 Message Date
syedm 35cddfc53c Enhance enemy AI and weapon mechanics: add knockback effect based on player position in Enemy class; improve attack direction handling and animation in OccamsRazor class.
Basically the finishing touches.
2026-04-03 14:59:28 +01:00
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 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 94be1f104f Refactor weapon system: update BladeOfRecursion and QuantumBow classes with improved attack mechanics, damage handling, and drawing logic; enhance WeaponHandler for better weapon management. 2026-04-03 00:28:50 +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 60a89ed128 Enhance enemy AI and introduce Force class: update speed dynamics based on Lorentz field effects, refactor enemy spawning to utilize Force, and add sprite loading for Force. 2026-03-30 16:31:08 +00:00
syedm 1ea06f50d3 Refactor weapon system: implement WeaponHandler to manage LorentzField and prepare for additional weapons; update shader to incorporate lorentz_field uniform for visual effects. 2026-03-29 22:22:06 +00:00
syedm 5f3b6b8e29 Implement enemy pathfinding restrictions in starting room; rectify collision rectangle checks for props; create new trap and weapon files. 2026-03-29 13:42:59 +00:00