#assets #loading #bevy #macro #generic #loader #version

generic_asset

A upgraded version of Tantans asset loading macro for bevy 0.12

7 releases

0.1.15 Dec 29, 2023
0.1.14 Dec 29, 2023

#838 in Game dev

48 downloads per month

MIT license

6KB
72 lines

The Github Crates.io

generic-bevy-asset-loader

A generic bevy asset loader for bevy 0.12 based on Tantan's video 'Rust Macros Are Magic' ported to 0.12

How to use

  • Option:1 Copy and paste the contents of the "utils.rs" file into your project and follow the documentation in the code

  • Option:2 use the create_asset_loader macro from the generic_asset crate

Supported Bevy versions

Generic assset version: Bevy version

0.1.0 -> most recent: 0.12.1

Broken versions of this plugin

  1. 0.1.13
  2. 0.1.15

How to contribute:

  • Make bug reports
  • Write tests

lib.rs:

This Wizardry is courtesy of Tantan and updated to 0.12.1 by me

This is based on https://www.youtube.com/watch?v=ModFC1bhobA&t=403s?

Dependencies

~22MB
~416K SLoC