Compare commits

..

No commits in common. "310030b18ce15dcb81a010066dfd162e59b45168" and "0dd0474bb0223863648cee53c00bed78a0dc331f" have entirely different histories.

3 changed files with 544 additions and 548 deletions

View file

@ -1,9 +1,8 @@
# git development version # git development version
- Upgrade to Bevy 0.14.2, Rust 1.81 - Upgrade to Rust 1.81
- Overhauled sounds effecs and music
- Add "`" (backtick) key to fast-forward conversations - Add "`" (backtick) key to fast-forward conversations
- All game assets are now free, as defined by the Free Software Foundation - Replace all "non-free" game assets with "free" variants
- Fix dialogs - Fix dialogs
# v0.10.2 # v0.10.2

1080
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -640,12 +640,11 @@ pub fn apply_input_to_player(
// Play sound effects // Play sound effects
if let Some(sink) = sinks.get(&audio::Sfx::ElectricMotor) { if let Some(sink) = sinks.get(&audio::Sfx::ElectricMotor) {
let reactionwheel_volume = 1.5;
let volume = sink.volume(); let volume = sink.volume();
let speed = sink.speed(); let speed = sink.speed();
let action = pitch_yaw_rot.length_squared().powf(0.2) * 0.0005; let action = pitch_yaw_rot.length_squared().powf(0.2) * 0.0005;
if play_reactionwheel_sound && !settings.mute_sfx && bike.is_some() { if play_reactionwheel_sound && !settings.mute_sfx && bike.is_some() {
sink.set_volume(reactionwheel_volume * (volume + action).clamp(0.0, 1.0)); sink.set_volume((volume + action).clamp(0.0, 1.0));
sink.set_speed((speed + action * 0.2).clamp(0.2, 0.5)); sink.set_speed((speed + action * 0.2).clamp(0.2, 0.5));
sink.play() sink.play()
} else { } else {
@ -659,11 +658,11 @@ pub fn apply_input_to_player(
} }
let sinks = vec![ let sinks = vec![
( (
1.0, 1.2,
actor::EngineType::Monopropellant, actor::EngineType::Monopropellant,
sinks.get(&audio::Sfx::Thruster), sinks.get(&audio::Sfx::Thruster),
), ),
(1.0, actor::EngineType::Ion, sinks.get(&audio::Sfx::Ion)), (1.4, actor::EngineType::Ion, sinks.get(&audio::Sfx::Ion)),
]; ];
let seconds_to_max_vol = 0.05; let seconds_to_max_vol = 0.05;
let seconds_to_min_vol = 0.05; let seconds_to_min_vol = 0.05;