Expand description
§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
bevy | bevy_assets_extensions |
---|---|
0.16 | 0.2-0.4 |
0.15 | 0.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§
- Assets
Extensions Plugin - Plugin that initialise bevy_assets_extensions