Commit Graph

2 Commits

Author SHA1 Message Date
Brian Fertig dc1eef50dc Implement enemy movement tracking, health system, and tower attack mechanics
- Added distance traveled tracking to enemies for progression metrics
- Implemented enemy health system with damage calculation and health bars
- Created tower attack functionality with damage application and enemy destruction
- Enhanced wave manager to track enemy movement distances during path traversal
- Updated enemy configuration with full health values and drop ranges
- Modified tower manager to support dynamic tower properties and level-based configurations

This commit introduces core combat mechanics including enemy health tracking, visual health bars, tower damage system, and proper distance calculation for enemy progression through paths.
2025-08-31 07:36:45 -06:00
Brian Fertig cbbe6d51ed feat(towers): Implement tower system with gun towers, range visualization, and basic firing logic
This commit introduces a complete tower management system including:
- Added TowerManager class to handle tower creation, updates, and firing logic
- Implemented gun tower configuration with damage, rate, duration, and range stats
- Created visual range circles for towers
- Integrated tower placement in level1 scene
- Added basic enemy detection and firing mechanics
- Updated wave manager to support level completion state

The changes enable the core tower defense functionality where towers automatically detect enemies in range and fire at them based on configured rates.
2025-08-30 22:47:11 -06:00