Leafwing-Studios / leafwing_manifest

Data-driven content generation for Bevy
Apache License 2.0
73 stars 2 forks source link

Add asset loaders #14

Closed alice-i-cecile closed 7 months ago

alice-i-cecile commented 7 months ago

Asset loaders are required for this crate to function.

Plan:

  1. Create an enum of FileFormat with JSON / RON etc, and configure in the Manifest trait.
  2. Use bevy_common_assets to supply implementations for the common data formats.
  3. Initialize the asset loaders as part of register_manifest.
  4. Add an Other file format for custom asset loaders, and explain how to do this manually.