Feature/Gameloop enhancements #17

Merged
jusemon merged 4 commits from feature/gameloop-enhancements into main 2025-11-26 17:53:41 -05:00

4 commits

Author SHA1 Message Date
e638ae4d6d feat: Implement sound system and toggle functionality
All checks were successful
Build and Publish Docker Image / Build and Validate (pull_request) Successful in 8s
- 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.
2025-11-26 17:52:59 -05:00
4220e216e1 feat: Introduce CoinType, ObstacleType, PowerUp components and systems
All checks were successful
Build and Publish Docker Image / Build and Validate (pull_request) Successful in 9s
- 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.
2025-11-26 17:01:30 -05:00
7ea49a1c9e chore: prevent caching of JavaScript and HTML files in nginx configuration 2025-11-26 17:00:48 -05:00
7a5a6c6177 chore: rrevent caching of version.json and add cache-busting to fetch request 2025-11-26 16:52:51 -05:00