- Introduced SoundSystem to manage sound events using the Web Audio API.
- Added SoundEvent component to represent different sound types (e.g., coin, damage, powerup).
- Integrated sound event emissions in the Game class for various actions (e.g., collecting coins, taking damage).
- Updated UI to include a sound status indicator with toggle functionality using the 'M' key.
- Enhanced game experience with background music and sound effects for actions, improving player engagement.
This update enriches the gameplay by adding audio feedback, enhancing the overall user experience.
- Added CoinType component to define different coin types and their score values.
- Implemented ObstacleType component to manage various obstacle behaviors.
- Created PowerUp component to handle power-up types and durations.
- Integrated ParticleSystem for visual effects upon collecting coins and power-ups.
- Updated EntityFactory to create coins, obstacles, and power-ups with respective types.
- Enhanced Game class to manage power-up collection and effects, including score multipliers and health restoration.
This update enriches gameplay by adding collectible items with distinct behaviors and effects, enhancing player interaction and strategy.
- Added Invincibility component to manage invincibility state and duration.
- Introduced InvincibilitySystem to handle visual effects during invincibility.
- Updated Game class to integrate combo multiplier mechanics and high score tracking.
- Enhanced UI to display current combo status and high score.
- Configured GameConfig for centralized game settings, including obstacle damage and invincibility duration.
- Updated game logic to reset combo on damage and manage health regeneration.
This update enhances gameplay dynamics by introducing invincibility frames and a scoring combo system.
Reviewed-on: #16
Co-authored-by: Juan Sebastian Montoya <juansmm@outlook.com>
Co-committed-by: Juan Sebastian Montoya <juansmm@outlook.com>