Micro Game Macros
A collection of utility macros for building games. While this library should theoretically work with
any version of Bevy that includes the required traits and structs for a given macro, it is worth checking the
version of bevy listed as a dev dependency in Cargo.toml, as that will be the version tested against.
This works because the library does not directly depend on bevy, but instead just generates fully qualified paths to derives, traits, and structs that will resolve to the version of Bevy used in your downstream project
Current Version Support: 0.9.x -> Bevy 0.17
Macros
For executable examples, visit the rustdoc and/or read the doctests in src/lib.rs
JSON Loader
Generate a Bevy asset loader for a given asset, supporting JSON files that define a single instance of that asset type, or a list of that asset type. Instances of an asset need to be identifiable, though the property that is used to identify a particular asset is customisable
Asset System
Generate a set of structs and systems for managed loading in a Bevy game
use ;
use asset_system;
From Inner
Derive an impl of From<T> for structs that wrap a single inner type (Tuple and Named Property structs are supported)
use FromInner;
;
Tag Finder
Create a system param for checking whether an entity has one of a specified number of tags. The tag finder will also create the tag components, which can use either table or sparse storage
use tag_finder;
Event System