diff --git a/README.md b/README.md index 155fc96..f394c0f 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,8 @@ git clone [URL] cd outfly cargo run ``` + +# Credits + +- https://pixabay.com/sound-effects/typosonic-typing-192811 +- https://pixabay.com/sound-effects/click-button-140881 diff --git a/assets/sounds/click-button-140881-crop.ogg b/assets/sounds/click-button-140881-crop.ogg new file mode 100644 index 0000000..6fd30b3 Binary files /dev/null and b/assets/sounds/click-button-140881-crop.ogg differ diff --git a/assets/sounds/typosonic-typing-192811-crop.ogg b/assets/sounds/typosonic-typing-192811-crop.ogg new file mode 100644 index 0000000..3860e90 Binary files /dev/null and b/assets/sounds/typosonic-typing-192811-crop.ogg differ diff --git a/src/audio.rs b/src/audio.rs index 18c5026..aa93ba1 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -1,13 +1,8 @@ use bevy::prelude::*; use bevy::audio::PlaybackMode; -//const ASSET_CLICK: &str = "tmp/analog-appliance-button-10-185285.mp3.ogg"; -//const ASSET_CLICK: &str = "tmp/analog-appliance-button-1-185276.ogg"; -//const ASSET_CLICK: &str = "tmp/click-button-140881.mp3.ogg"; -//const ASSET_CLICK: &str = "tmp/keyboard-chblue-146642.mp3.ogg"; -const ASSET_CLICK: &str = "tmp/keyboard-chcl-146641.mp3.ogg"; -//const ASSET_CLICK: &str = "tmp/typosonic-typing-192811.mp3.ogg"; -const ASSET_SWITCH: &str = "tmp/typosonic-typing-192811-crop.ogg"; +const ASSET_CLICK: &str = "sounds/click-button-140881-crop.ogg"; +const ASSET_SWITCH: &str = "sounds/typosonic-typing-192811-crop.ogg"; pub struct AudioPlugin; impl Plugin for AudioPlugin {