Commit Graph

10 Commits

Author SHA1 Message Date
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 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 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 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 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 8d643a3842 initial commit 2026-03-25 07:13:37 +00:00