#bevy #assets #gamedev #texture-atlas

bevy_libgdx_atlas

Support loading libgdx.atlas files (used for sprite sheets and such) as Bevy assets

2 unstable releases

0.2.0 Sep 10, 2024
0.1.0 Sep 7, 2024

#1765 in Game dev

Download history 160/week @ 2024-09-01 355/week @ 2024-09-08 53/week @ 2024-09-15 25/week @ 2024-09-22 31/week @ 2024-09-29 66/week @ 2024-10-06 17/week @ 2024-10-13 7/week @ 2024-10-20 1/week @ 2024-10-27 26/week @ 2024-11-03 30/week @ 2024-11-10

66 downloads per month

MIT/Apache

13KB
214 lines

bevy_libgdx_atlas

Following released Bevy versions crates.io docs.rs

Support loading libgdx.atlas files (used for sprite sheets and such) as Bevy assets.

Usage

Add the LibGdxAssetPlugin to your app:

use bevy::prelude::*;
use bevy_libgdx_atlas::*;

let app = App::new();
app.add_plugins(MinimalPlugins);
app.add_plugins(AssetPlugin::default());
app.add_plugins(LibGdxAssetPlugin);

Now when you load files with the .libgdx.atlas extension through the asset server, or even bevy_asset_loader, they will load as a LibGdxAtlasAsset which you can then use.

Compatible Bevy Versions

bevy bevy_libgdx_atlas
0.14 0.2
0.13 0.1

License

bevy_libgdx_atlas is dual-licensed under either MIT or Apache 2.0, at your option.

Contributing

See our CONTRIBUTING.md

Our Other Crates

Dependencies

~39–76MB
~1.5M SLoC