NiklasEi / bevy_asset_loader

Bevy plugin helping with asset loading and organization
Apache License 2.0
452 stars 53 forks source link

Support vectors of dynamic assets in dynamic asset files #151

Open NiklasEi opened 10 months ago

NiklasEi commented 10 months ago

This allows for dynamic asset files like

({
    "files": [
        File(path: "images/tree.png"),
        File(path: "images/player.png"),
    ],
})

and even works for custom dynamic assets and nested collections

({
    "images": [
        CombinedImage (
            bottom_layer: "images/tree.png",
            top_layer: "images/player.png",
        ),
        [
            File(path: "images/tree.png"),
            File(path: "images/player.png"),
        ],
        Folder(path: "images")
    ],
})

ToDo

Resolves #78