Expand description

§Bevy Embedded Assets

MIT/Apache 2.0 Realease Doc Crate Bevy Tracking CI

Embed your asset folder inside your binary for easier releases.

use bevy::prelude::*;
use bevy_embedded_assets::EmbeddedAssetPlugin;

fn main() {
    App::new().add_plugins((EmbeddedAssetPlugin::default(), DefaultPlugins));
}

EmbeddedAssetPlugin has three modes:

  • PluginMode::AutoLoad will embed the asset folder and make it available through the embedded:// source
  • PluginMode::ReplaceDefault will embed the asset folder and make it available through the default source
  • PluginMode::ReplaceAndFallback will embed the asset folder and make it available through the default source. If a fail is not found at runtime, it fallback to the default source for the current platform

§Bevy Compatibility

Bevybevy_embedded_assets
mainmain
0.130.10
0.120.9
0.110.8
0.100.7
0.90.6
0.80.4
0.70.3
0.60.2
0.50.1

Structs§

Enums§