Crate bevy_assets_extensions

Crate bevy_assets_extensions 

Source
Expand description

stable pipeline dev/1 pipeline docs crates.io

§bevy_assets_extensions

Extensions for bevy assets, with the support:

  • Define bundles of assets in a ron file. And load them as assets. The bundle can be defined statically or dynamically.
  • Loading manager.
  • Add the possibility to load string as assets.

§Compatibility

bevybevy_assets_extensions
0.160.2-0.4
0.150.1

§Difference to bevy_assets_loader

bevy_assets_extensions is heavily inspired by bevy_asset_loader. The main limitation of bevy_asset_loader is that it defines collection as bevy Resource, which allow only one collection of a given type to be loaded at a given time. This works fine for games with a static structure, but it fails to scale to game with larger world needing a more dynamic structure. In bevy_assets_extensions, bundles are defines as Asset which allow multiple variant of the same collection to be loaded.

Re-exports§

pub use ron;

Modules§

assets
Module with assets.
assets_loader
Module with support for assets loading.
prelude
Prelude with easy import to bevy_assets_extensions types.
static_bundle
Define static modules.

Macros§

call_load_from
Convenient macro to call load_from
load_handle_from
Convenient macro to call load_handle_from

Structs§

AssetsExtensionsPlugin
Plugin that initialise bevy_assets_extensions