Commit Graph

28 Commits

Author SHA1 Message Date
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 ccadcf660c Replace Perlin noise with Ruby-OpenGL2 for shader support; update Gemfile and remove related noise generation code. 2026-03-30 15:59:58 +00:00
syedm c69bf59a71 Keep minimum wood/metal to allow razor to always be craftable 2026-03-29 22:24:14 +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
syedm 6aecd44114 Fix line of sight checks to use collision rectangle for prop interactions; as it caused the enemy to be able to softlock itself around a prop by thinking it was inside one the whole time; 2026-03-29 11:20:10 +00:00
syedm 6769f174af fix torch position used by shader 2026-03-29 11:15:47 +00:00
syedm 6e15f025ec Cleanup 2026-03-29 04:45:36 +00:00
syedm 2064232226 Refactor game window and shader management; add fog shader implementation and update configuration settings 2026-03-29 04:44:55 +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
syedm 045200bf9f Props are now collectible;
Props logic refractor;
maze coordinates cleanup
2026-03-28 18:09:58 +00:00
syedm e42b31ec24 Refactor character and enemy AI movement logic; implement delta time for smoother updates and replace object (a reserved keyword) with prop. 2026-03-28 16:43:37 +00:00
syedm 95f2be311d Refactor FPS display logic in Game class; optimize torch position retrieval 2026-03-28 16:12:16 +00:00
syedm 01029bb6a2 Implement chest spawning logic and room check in ObjectHandler; add room detection to MazeData 2026-03-28 12:37:09 +00:00
syedm ba828d682c Add new chest assets 2026-03-28 12:22:58 +00:00
syedm fa2c31ca50 Add comments to clarify fog drawing implementation and performance considerations 2026-03-28 11:40:32 +00:00
syedm bf93aecad1 Refactor event bus to use non-retrievable events;
update collision handling and add new inventory initialization;
add torch lighting in fog shader;
2026-03-28 11:38:20 +00:00
syedm c66aee0613 Add HUD class and integrate inventory background; update scene to draw HUD 2026-03-26 12:49:49 +00:00
syedm 3813fcb268 Refactor enemy movement logic for simplicity; adjust character sprite drawing position 2026-03-26 12:49:28 +00:00
syedm 83d250f1e9 Implement enemy AI and handler; add placeable radar object; enhance maze functionality 2026-03-25 22:02:50 +00:00
syedm 84004a9f67 Add debug teleportation and player position display; enhance maze debug output 2026-03-25 09:20:06 +00:00
syedm 8d643a3842 initial commit 2026-03-25 07:13:37 +00:00