This commit introduces a new Flak Cannon tower type with:
- Complete tower configuration including cost, damage stats, and range for all 3 levels
- Visual upgrades with rotating mid-sections for level 2/3
- Sound effects (flak.mp3) for firing and explosions
- AOE shot mechanics that fire multiple projectiles in a spread pattern
- Rotation handling to prevent conflicts with tower aiming logic
The flak cannon uses a unique firing pattern where it shoots multiple projectiles in different directions within its AOE radius, creating an explosion effect. The upgrade system adds visual elements like rotating mid-sections and changes sprite textures for each level.
- Added Menu scene with video background, audio, and UI elements including player name input and level selection
- Implemented dynamic level loading based on user selection in Level scene
- Added level 2 assets (JSON map, TMX tileset, terrain images)
- Updated wave configurations for both levels with new enemy spawn schedules
- Refactored file structure by moving scenes to src/scenes/ directory
- Enhanced tower explosion sounds with increased volume
- Improved camera fade effects in menu and level scenes
- Added new audio assets including sound effects for towers (cannon, flamethrower, gatling gun, laser) and interface sounds (portal, coin, upgrade)
- Integrated background music tracks for levels
- Enhanced tower animations with new fire animations for cannon and laser towers
- Improved tower behavior with visual effects like laser beams and particle effects
- Updated tower configurations including AOE ranges and costs for different levels
- Modified wave progression to include more challenging enemy combinations
- Added sound feedback for key game events (tower placement, upgrades, waves)
This commit adds a new ICBM tower type with distinct visual effects and attack behavior. Key changes include:
- Added ICBM tower configuration with 3 levels, damage, range, and AOE properties
- Implemented custom animation system for tower firing sequences
- Created specialized icbmAttackTarget method with missile launch and explosion effects
- Updated tower rendering logic to handle ICBM's unique sprite setup (base + top)
- Modified enemy targeting logic to exclude ICBM from normal rotation behavior
- Added new animation definitions for ICBM explosion effects
- Adjusted interface manager to display correct sprites for ICBM tower in menus
The ICBM tower features a missile launch animation, AOE damage on impact, and explosion visual effects that distinguish it from other tower types.
This commit introduces a comprehensive tower placement system allowing players to select and place towers on valid platform tiles. Key changes include:
- Added tower selection and preview functionality with visual feedback (green for valid, red for invalid positions)
- Implemented cannon tower type with AOE damage capabilities
- Integrated next wave button with animation effects in the UI
- Modified wave progression to be controlled via interface manager instead of automatic timing
- Enhanced tower placement logic to snap to grid and validate platform collisions
- Updated gold management system with proper removal when placing towers
The changes enable players to strategically place multiple tower types while providing visual feedback during selection and integrating seamlessly with the existing wave progression system.
- Refactored level system from Level1 to Level with improved camera controls (zoom/pan)
- Enhanced tower management with new animations and firing mechanics
- Updated enemy configurations with increased health, damage, and drop rates
- Implemented comprehensive UI interface with tower selection and resource management
- Added wave progression system with multiple enemy types and spawn scheduling
- Improved visual effects including glowing cores, particle effects, and animated gold drops
- Integrated new assets including font files, spritesheets, and interface elements
This update transforms the basic tower defense game into a more polished experience with enhanced gameplay mechanics, better visuals, and improved user interface.
- Added tower spritesheet loading and tower creation functionality
- Implemented tower targeting logic to follow enemies based on distance traveled
- Added firing animations for towers with proper rotation towards targets
- Enhanced enemy management with unique IDs, health bars, and death animations
- Updated enemy configurations with reduced health values
- Modified wave spawn rates to increase difficulty progression
- Improved tower attack logic to handle multiple enemies in range properly
This commit introduces the core tower defense mechanics including tower placement, targeting, firing, and enemy management systems.