Skip to content

Add crystal collection audio functionality to Cargo Convoy game#4

Draft
StGrikus wants to merge 5 commits into
mainfrom
09
Draft

Add crystal collection audio functionality to Cargo Convoy game#4
StGrikus wants to merge 5 commits into
mainfrom
09

Conversation

@StGrikus

Copy link
Copy Markdown
Collaborator
  • Introduced new audio features for crystal collection, including multiple sound files and dynamic volume adjustments based on collection count.
  • Implemented functions to preload and play crystal collection sounds, enhancing the audio experience during gameplay.
  • Updated HTML files to include necessary audio path scripts for both Cargo Convoy and Deep Collapse games, ensuring audio assets are properly loaded.
  • Refactored existing sound handling to integrate new audio features seamlessly into the game mechanics.

StGrikus added 5 commits June 18, 2026 21:36
- Introduced new audio features for crystal collection, including multiple sound files and dynamic volume adjustments based on collection count.
- Implemented functions to preload and play crystal collection sounds, enhancing the audio experience during gameplay.
- Updated HTML files to include necessary audio path scripts for both Cargo Convoy and Deep Collapse games, ensuring audio assets are properly loaded.
- Refactored existing sound handling to integrate new audio features seamlessly into the game mechanics.
- Introduced new functionality to manage the transition from start music to gameplay music, including timing checks and event listeners for smoother audio experience.
- Added a new variable for gameplay music overlap duration and implemented logic to preload gameplay music.
- Updated the manifest to include start music paths for the Deep Collapse game.
- Refactored audio handling in the Cargo Convoy game by simplifying sound volume calculations and removing unused variables.
- Updated several audio files to improve overall sound quality and consistency.
- Updated the `getEntityDisplayName` function to return raw entity IDs, simplifying the display process.
- Removed the `humanizeEntityId` function to enhance code maintainability and reduce complexity in entity name handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant