Commit Graph

3 Commits

Author SHA1 Message Date
Brian Fertig 321b491c7b feat: Implement object health system, damage mechanics, inventory management, and enhanced player movement
- Added health bars for objects with visual indicators
- Implemented takeDamage and destroyObject functionality for trees and boulders
- Created resource dropping system when objects are destroyed
- Enhanced player movement with grid-based positioning and collision handling
- Added inventory manager for item collection and storage
- Integrated physics collisions between player, objects, and collectibles
- Improved UI with updated time of day text and font styling
2025-08-17 15:40:25 -06:00
Brian Fertig 67c207e54e Add terrain object generation and day/night cycle functionality
- Added new tile properties for forestTree, palmTree, and boulder counts in game-map.json and game-map.tmx
- Implemented ObjectManager class to handle dynamic object spawning based on tile properties
- Added CycleManager class to manage day/night cycle transitions and visual effects
- Enhanced player collision detection with both map layers and spawned objects
- Updated Game scene to initialize and update new managers
- Adjusted player body size for better collision handling
2025-08-16 21:19:19 -06:00
Brian Fertig 13abba7061 first commit 2025-08-16 18:16:52 -06:00