+
Skip to content

kcking/bevy_oddio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bevy Oddio

Bevy tracking Crates.io Crates.io Crates.io docs.rs CI

A third party Bevy plugin that integrates oddio into Bevy.

Usage

use bevy::prelude::*;
use bevy_oddio::*;
use bevy_oddio::frames::Stereo;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugin(AudioPlugin::new())
        .add_startup_system(play_background_audio)
        .run();
}

fn play_background_audio(asset_server: Res<AssetServer>, mut audio: ResMut<Audio<Stereo>>) {
    audio.play(asset_server.load("background_audio.wav"), 0.0);
}

Compatibility

bevy_oddio bevy
bevy_main main
0.3.0 0.9
0.1.0-0.2.0 0.8

License

bevy_oddio is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Acknowledgement

I'd like to say thanks to the authors of oddio and Bevy for making this plugin possible.

Ko-fi

ko-fi

About

A third party Bevy plugin that integrates `oddio` into Bevy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载