NiklasEi / bevy_asset_loader

Bevy plugin helping with asset loading and organization
Apache License 2.0
485 stars 54 forks source link

Custom dynamic assets #55

Closed NiklasEi closed 2 years ago

NiklasEi commented 2 years ago

Support loading and using custom types as dynamic assets.

E.g. it should be possible (with minimal setup), to automatically load files like this:

({
    "bakery": Building (
        position: [100., 0., 10.],
        image: "images/bakery.png"
    ),
    "baker": Npc (
        spawn: [100., 0., 10.],
        image: "images/baker.png",
    ),
})

This should not be bound to a certain file format.