From ac38a248faec0b142a505b799a8cfc17be361c06 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 14 May 2024 06:37:00 +0200 Subject: [PATCH] add achievement sound effect --- LICENSE.md | 1 + assets/sounds/achieve.ogg | Bin 0 -> 14822 bytes src/audio.rs | 3 +++ src/game.rs | 1 + 4 files changed, 5 insertions(+) create mode 100644 assets/sounds/achieve.ogg diff --git a/LICENSE.md b/LICENSE.md index 140cc7a..8ce03c0 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -40,6 +40,7 @@ - https://pixabay.com/sound-effects/electric-fan-motor-blades-removed-13169 - https://pixabay.com/sound-effects/whoosh-blow-flutter-shortwav-14678/ - https://pixabay.com/sound-effects/dslr-camera-sounds-26117/ + - https://pixabay.com/sound-effects/beep-6-96243 - Music: [Cinematic Cello](https://pixabay.com/music/build-up-scenes-cinematic-cello-115667) by [Aleksey Chistilin](https://pixabay.com/users/lexin_music-28841948/), [Pixabay Content License](https://pixabay.com/service/license-summary) - Star chart based on the [HYG Stellar database](https://github.com/astronexus/HYG-Database) - Font Yupiter-Regular.ttf is placed under the SIL OPEN FONT LICENSE Version 1.1 and is based on: diff --git a/assets/sounds/achieve.ogg b/assets/sounds/achieve.ogg new file mode 100644 index 0000000000000000000000000000000000000000..eba33c1d1fd75f2708438c81bd25164cd3dd3b4c GIT binary patch literal 14822 zcmc(GWmr_t8|W;#bR$SD{OCq$q`Rb~K@dc`6{MFEq$L%RP(n&N6p%%vL|RE%5TvBL z;U4t&|KIp^Tx~@^G=*u9eaBNfC2tZ#s1HZud?G|%Tq8$n2)=cjidL~ z3k;Oy)dK+Q7qCCiVwlbq<$u!^jy8YkVAy}3tO|-oFdzp2jRGk*cDZeWWH%La z9PR5|g)dxP3<`tHZ&($hB|AmBXlzyA-;Yt~2^~x_1Xl$4^v1eg>U>LC-fw7(zj`hs zpxgq&{;MY*8??C_w({X=&j0Jt@0%p389Una=~rrEd=Ps%U= z5&$d+k5ILWQhS?qVCUAr?*DoHtrh_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sfx::Woosh, diff --git a/src/game.rs b/src/game.rs index 28b5b46..209f7cc 100644 --- a/src/game.rs +++ b/src/game.rs @@ -147,6 +147,7 @@ pub fn handle_game_event( } } GameEvent::Achievement(name) => { + ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Achieve)); log.info(format!("Achievement accomplished: {name}!")); } }