Skip to content
Snippets Groups Projects
Verified Commit 5ef33677 authored by Louis's avatar Louis :fire:
Browse files

Fix formatting

parent 35d9c6eb
No related branches found
No related tags found
No related merge requests found
...@@ -10,10 +10,10 @@ setup for the common game audio scenario for you. ...@@ -10,10 +10,10 @@ setup for the common game audio scenario for you.
There are 4 types of audio channel that will be added to your game, with crossfade tracks There are 4 types of audio channel that will be added to your game, with crossfade tracks
for 2 of those; this means a total of 6 `AudioChannel` resources are created. for 2 of those; this means a total of 6 `AudioChannel` resources are created.
* `Music` - The main music for your game (includes A/B for crossfading) * `Music` - The main music for your game (includes A/B for crossfading)
* `Ambient` - Any long and/or looping background ambience that you might want to layer on top of music (includes A/B for crossfading) * `Ambient` - Any long and/or looping background ambience that you might want to layer on top of music (includes A/B for crossfading)
* `Sfx` - Any short sound effects * `Sfx` - Any short sound effects
* `UI Sfx` - Any sound effects that specifically relate to the UI, allowing for more fine-grained control of audio levels * `UI Sfx` - Any sound effects that specifically relate to the UI, allowing for more fine-grained control of audio levels
Track volume is controlled by a resource, and is calculated as the individual track's volume settings multiplied by the master volume Track volume is controlled by a resource, and is calculated as the individual track's volume settings multiplied by the master volume
setting setting
...@@ -27,7 +27,7 @@ setting ...@@ -27,7 +27,7 @@ setting
- Use `MusicBox<T: SuppliesAudio>` as a parameter on a system - Use `MusicBox<T: SuppliesAudio>` as a parameter on a system
- Call one of the `MusicBox::play_*` methods to play sounds - Call one of the `MusicBox::play_*` methods to play sounds
``` ```rust
fn main() { fn main() {
App::new() App::new()
.add_plugins(CombinedAudioPlugins) .add_plugins(CombinedAudioPlugins)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment