bevy/.github
Charles 6e5955f162 Add simple collision sound to breakout (#4331)
# Objective

- Add sound effect to the breakout example

## Solution

- Add a collision event and a system that listens to the event and plays a sound

I only added a single sound for all collisions for the sake of simplicity, but this could easily be extended to play a different sound depending on the type of entity hit.

The sound was generated randomly by using https://sfxr.me

https://sfxr.me/#11111GA9soYREjtsWhzjPrpMDEYSjX8Fo1E6PnKhxdw6tu869XW4EAc3nzpKVAYLMzToNcHQtQjeBqjZukqPmMDToGdYQQCWBnC3nEYfp53se5ep9btxRdLK

Closes #4326

https://user-images.githubusercontent.com/8348954/160154727-00e30743-3385-4c2f-97f0-1aaaf9a4dcc5.mp4

For some reason the video has a lot of delay in the sound, but when playing it locally there's no delay

---

## Changelog

- Added sound to breakout example
- Added bevy_audio and vorbis to the feature list ran for examples in CI

## Migration Guide

N/A
2022-04-14 20:20:38 +00:00
..
contributing ParamSet for conflicting SystemParam:s (#2765) 2022-03-29 23:39:38 +00:00
example-run CI: use lavapipe instead of swiftshader when running examples (#3358) 2021-12-17 23:58:09 +00:00
ISSUE_TEMPLATE new labels: feature request 2021-07-13 13:29:05 -07:00
linters Ignore reddit when checking markdown links (#3223) 2021-11-29 20:55:12 +00:00
workflows Add simple collision sound to breakout (#4331) 2022-04-14 20:20:38 +00:00
bors.toml CI runs cargo miri test -p bevy_ecs (#4310) 2022-03-25 00:26:07 +00:00
dependabot.yml dependabot: use new C-Dependencies label 2021-07-13 12:51:48 -07:00
FUNDING.yml Create FUNDING.yml 2020-08-18 10:59:30 -07:00
label-config.yml Relicense Bevy under the dual MIT or Apache-2.0 license (#2509) 2021-07-23 21:11:51 +00:00
pull_request_template.md Add "Changelog" and "Migration Guide" to PR template (#4143) 2022-03-16 20:48:42 +00:00