Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Bevy Music Box
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microhacks
Bevy Music Box
Commits
5ef33677
Verified
Commit
5ef33677
authored
2 years ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Fix formatting
parent
35d9c6eb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+5
-5
5 additions, 5 deletions
README.md
with
5 additions
and
5 deletions
README.md
+
5
−
5
View file @
5ef33677
...
...
@@ -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
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)
* `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
* `UI Sfx` - Any sound effects that specifically relate to the UI, allowing for more fine-grained control of audio levels
*
`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)
*
`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
Track volume is controlled by a resource, and is calculated as the individual track's volume settings multiplied by the master volume
setting
...
...
@@ -27,7 +27,7 @@ setting
-
Use
`MusicBox<T: SuppliesAudio>`
as a parameter on a system
-
Call one of the
`MusicBox::play_*`
methods to play sounds
```
```
rust
fn
main
()
{
App
::
new
()
.add_plugins
(
CombinedAudioPlugins
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment