Skip to content

v0.3.0

Compare
Choose a tag to compare
@Salzian Salzian released this 24 Sep 22:49
· 32 commits to main since this release
01690a6

We're excited to unveil version 0.3.0 of bevy_fmod, our biggest release so far. This update not only brings several new features but also marks a milestone as the first version that includes all the crucial functionalities for integrating FMOD into your Bevy projects. Now is the perfect time to start enriching your game's audio experience.

Feature highlight

Adaptive audio using parameter control

Tailor your audio dynamics like never before with the parameter control feature, allowing you to customize the sound settings to suit different gameplay situations.

fn set_rain(audio_sources: Query<&AudioSource, With<ForestSfxPlayer>>, input: Res<Input<KeyCode>>) {
    if input.just_pressed(KeyCode::Up) {
        for audio_source in audio_sources.iter() {
            audio_source
                .event_instance
                .set_parameter_by_name("Rain", 1.0, false)
                .unwrap();
        }
    }
}

Spatial Audio Support

Step into a more immersive audio landscape with our new spatial audio support. This feature elevates your 3D sound experience within the game world.

fn spawn_sound(
    mut commands: Commands,
    studio: Res<FmodStudio>,
) {
    let event_description = studio.0.get_event("event:/Music/Radio Station").unwrap();

    commands.spawn((
        AudioSource::new(event_description),
        Velocity::default(),
    ));
}

fn setup_scene(mut commands: Commands) {
    commands
        .spawn(Camera3dBundle::default())
        .insert((AudioListener::default(), Velocity::default()))
}

Automatic velocity brings Doppler effects

Bring a new layer of realism to your game with the introduction of velocity calculations and Doppler effects.

Live Update Feature

Take control in real-time with FMOD's live update feature, allowing you to make adjustments to your audio during gameplay.

Check the full changelist for more details.

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.3.0