Module libre_pvz_resources::loader

source ·
Expand description

Loaders for bincode, JSON, and YAML files. These files can decode into different data structures, and therefore require customisation over bevy’s AssetLoader. We do so by requiring an additional “secondary extension” in asset file names. For example, a file named “Peashooter.anim.bin” is treated as encoded in bincode, and has a resource type “anim”.

Structs§

Traits§

Type Aliases§

  • List of str, with static lifetime all the way down.