This adds an optional no_grid argument to the #[sprite_sheet_bundle] attribute. Instead of using TextureAtlas::from_grid, a TextureAtlas with a single sprite will be used.
Instead of using #[sprite_sheet_bundle(no_grid)], a field of type NoGridSpriteSheetBundle annotated with the #[ldtk_entity] attribute can be used.
This is an attempt to fix #105 and fix #151.
This adds an optional
no_grid
argument to the#[sprite_sheet_bundle]
attribute. Instead of usingTextureAtlas::from_grid
, aTextureAtlas
with a single sprite will be used.Instead of using
#[sprite_sheet_bundle(no_grid)]
, a field of typeNoGridSpriteSheetBundle
annotated with the#[ldtk_entity]
attribute can be used.