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

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

#1178 in Game dev

Download history 2/week @ 2024-07-21 4/week @ 2024-07-28 17/week @ 2024-09-22

55 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

~26MB
~480K SLoC