Commit Graph

24 Commits

Author SHA1 Message Date
syedm 5d16a15a41 Add external snippet comments for Simplex 2D noise in fog shader 2026-03-29 11:21:48 +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 15c457e7a6 Update inventory assets for improved visuals 2026-03-26 14:49:20 +00:00
syedm bfb35aa243 cleanup 2026-03-26 13:03:33 +00:00
syedm 6ed92a673a Add random wall deletion and boss room entrance logic to maze generation 2026-03-26 13:02:47 +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