bevy/assets/sounds
Remi Godin df76fd4a1b
Programmed soundtrack example (#12774)
Created soundtrack example, fade-in and fade-out features, added new
assets, and updated credits.

# Objective
- Fixes #12651 

## Solution
- Created a resource to hold the track list. 
- The audio assets are then loaded by the asset server and added to the
track list.
- Once the game is in a specific state, an `AudioBundle` is spawned and
plays the appropriate track.
- The audio volume starts at zero and is then incremented gradually
until it reaches full volume.
- Once the game state changes, the current track fades out, and a new
one fades in at the same time, offering a relatively seamless
transition.
- Once a track is completely faded out, it is despawned from the app.
- Game state changes are simulated through a `Timer` for simplicity.
- Track change system is only run if there is a change in the
`GameState` resource.
- All tracks are used according to their respective licenses.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-03-29 20:32:30 +00:00
..
breakout_collision.ogg Add simple collision sound to breakout (#4331) 2022-04-14 20:20:38 +00:00
Epic orchestra music.ogg Programmed soundtrack example (#12774) 2024-03-29 20:32:30 +00:00
Mysterious acoustic guitar.ogg Programmed soundtrack example (#12774) 2024-03-29 20:32:30 +00:00
Windless Slopes.ogg use ogg by default instead of mp3 (#3421) 2021-12-23 19:19:15 +00:00