Embed your asset folder inside your binary for easier releases.
use bevy::prelude::*;
use bevy_embedded_assets::EmbeddedAssetPlugin;
fn main() {
App::new().add_plugins(
DefaultPlugins
.build()
.add_before::<bevy::asset::AssetPlugin, _>(EmbeddedAssetPlugin),
);
}
Bevy | bevy_embedded_assets |
---|---|
main | main |
0.10 | 0.7 |
0.9 | 0.6 |
0.8 | 0.4 |
0.7 | 0.3 |
0.6 | 0.2 |
0.5 | 0.1 |