In order to display a 2d animation one must obtain 1) a Handle<Image> which can easily be re-used thanks to asset_server, and 2) a Handle<TextureAtlasLayout>, which can be obtained using assets.add(TextureAtlasLayout).
I have 2 issues with that :
- How do I easily re-use the same handle when spawning the same animation multiple times ?
- Assuming each spritesheet have it's own layout, I'd like to somehow bundle them together, can I use assets meta for this (or something else) ?
Thanks