From text file to bevy_asset_loader #21265
-
The examples for the asset loader are all lager binary files. Perhaps this is not the correct tool? When starting my project I wanted to put the enemies(monsters) listed in a file, format TBD. Using Doom as a reference, I wanted to load a file like...
Eventually pad those out with image files paths, ect. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There's bevy_common_assets which shows a wide array of text files: https://github.com/NiklasEi/bevy_common_assets and the custom asset example shows how to load a .ron file (which can be applied to any format really). and leafwing_manifest is another example of prior art for more complex approaches: https://github.com/leafwing-studios/leafwing_manifest |
Beta Was this translation helpful? Give feedback.
There's bevy_common_assets which shows a wide array of text files: https://github.com/NiklasEi/bevy_common_assets
and the custom asset example shows how to load a .ron file (which can be applied to any format really).
and leafwing_manifest is another example of prior art for more complex approaches: https://github.com/leafwing-studios/leafwing_manifest