{"id":15137864,"url":"https://github.com/rustunit/bevy_libgdx_atlas","last_synced_at":"2025-10-23T13:30:52.481Z","repository":{"id":255301851,"uuid":"849160602","full_name":"rustunit/bevy_libgdx_atlas","owner":"rustunit","description":"Load libgdx texture atlas (sprite sheet) files as Bevy assets.","archived":false,"fork":false,"pushed_at":"2025-01-13T17:04:08.000Z","size":325,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T01:54:32.685Z","etag":null,"topics":["bevy","gamedev","spritesheet","textureatlas"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/bevy_libgdx_atlas","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustunit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"rustunit"}},"created_at":"2024-08-29T04:57:24.000Z","updated_at":"2025-01-13T17:04:11.000Z","dependencies_parsed_at":"2024-08-29T06:29:13.137Z","dependency_job_id":"6d86d5a9-1c2d-4f9c-8ce1-4f82fad4f6d7","html_url":"https://github.com/rustunit/bevy_libgdx_atlas","commit_stats":{"total_commits":10,"total_committers":3,"mean_commits":"3.3333333333333335","dds":0.5,"last_synced_commit":"0651d9cb1ed4a8c725406307f4c1de18c6af0c0b"},"previous_names":["rustunit/bevy_libgdx_atlas"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_libgdx_atlas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_libgdx_atlas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_libgdx_atlas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_libgdx_atlas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustunit","download_url":"https://codeload.github.com/rustunit/bevy_libgdx_atlas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237834633,"owners_count":19373760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bevy","gamedev","spritesheet","textureatlas"],"created_at":"2024-09-26T07:02:58.701Z","updated_at":"2025-10-23T13:30:52.462Z","avatar_url":"https://github.com/rustunit.png","language":"Rust","funding_links":["https://github.com/sponsors/rustunit"],"categories":[],"sub_categories":[],"readme":"# bevy_libgdx_atlas\n\n[![Following released Bevy versions](https://img.shields.io/badge/Bevy%20tracking-released%20version-lightblue)](https://bevyengine.org/learn/quick-start/plugin-development/#main-branch-tracking)\n[![crates.io](https://img.shields.io/crates/v/bevy_libgdx_atlas)](https://crates.io/crates/bevy_libgdx_atlas)\n[![docs.rs](https://docs.rs/bevy_libgdx_atlas/badge.svg)](https://docs.rs/bevy_libgdx_atlas)\n[![discord][sh_discord]][lk_discord]\n\n[sh_discord]: https://img.shields.io/discord/1176858176897953872?label=discord\u0026color=5561E6\n[lk_discord]: https://discord.gg/rQNeEnMhus\n\nSupport loading `libgdx.atlas` files (used for sprite sheets and such) as Bevy assets.\n\nRead the article with more context around sprite atlases in Bevy on the [rustunit blog](https://rustunit.com/blog/2024/10-21-bevy-libgdx-atlas/).\n\n## Usage\n\nPack your spritesheet using https://github.com/crashinvaders/gdx-texture-packer-gui\n\n\u003cimg src=\"texture_packer_example.webp\" width=\"800\" height=\"450\" alt=\"Texture packer example\" /\u003e\n\nAdd the `LibGdxAssetPlugin` to your app:\n\n```rust\nuse bevy::prelude::*;\nuse bevy_libgdx_atlas::*;\n\nlet app = App::new();\napp.add_plugins(MinimalPlugins);\napp.add_plugins(AssetPlugin::default());\napp.add_plugins(LibGdxAssetPlugin);\n```\n\nNow 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.\n\n\u003cimg src=\"animated_spritesheet_example.webp\" width=\"800\" height=\"450\" alt=\"Animated spritesheet example\" /\u003e\n\n\u003e [!TIP]\n\u003e Run `cargo run --example animation` to see this example for yourself!\n\n## Contributing\n\n[See our CONTRIBUTING.md](/CONTRIBUTING.md)\n\n## Our Other Crates\n\n- [bevy_debug_log](https://github.com/rustunit/bevy_debug_log)\n- [bevy_device_lang](https://github.com/rustunit/bevy_device_lang)\n- [bevy_web_popups](https://github.com/rustunit/bevy_web_popups)\n- [bevy_ios_iap](https://github.com/rustunit/bevy_ios_iap)\n- [bevy_ios_review](https://github.com/rustunit/bevy_ios_review)\n- [bevy_ios_gamecenter](https://github.com/rustunit/bevy_ios_gamecenter)\n- [bevy_ios_alerts](https://github.com/rustunit/bevy_ios_alerts)\n- [bevy_ios_notifications](https://github.com/rustunit/bevy_ios_notifications)\n- [bevy_ios_impact](https://github.com/rustunit/bevy_ios_impact)\n- [bevy_ios_safearea](https://github.com/rustunit/bevy_ios_safearea)\n\n## Compatible Bevy Versions\n\n|bevy|crate|\n|-|-|\n|0.16|0.4,main|\n|0.15|0.3|\n|0.14|0.2|\n|0.13|0.1|\n\n## License\n\nbevy_libgdx_atlas is dual-licensed under either [MIT](https://opensource.org/license/MIT) or [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0), at your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustunit%2Fbevy_libgdx_atlas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustunit%2Fbevy_libgdx_atlas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustunit%2Fbevy_libgdx_atlas/lists"}