Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ickshonpe/texture-atlas-tools
texture atlas tools
https://github.com/ickshonpe/texture-atlas-tools
atlas bevy texture
Last synced: 4 days ago
JSON representation
texture atlas tools
- Host: GitHub
- URL: https://github.com/ickshonpe/texture-atlas-tools
- Owner: ickshonpe
- License: mit
- Created: 2022-02-12T13:08:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-08T19:49:12.000Z (about 2 years ago)
- Last Synced: 2024-11-15T22:57:37.053Z (about 1 month ago)
- Topics: atlas, bevy, texture
- Language: Rust
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bevy Texture Atlas Tools
Collection of tools for working with Bevy Texture Atlases.
### Version 0.6
* Disabled Bevy default features. The crate only uses `render` and `bevy_asset` now.
### Version 0.5
* Supports Bevy 0.8
* Added an example for ```TextureAtlasPaddedBuilder```.### Version 0.4
* Supports Bevy 0.7
### Version 0.3 Updates
* The heterogeneous texture atlas loader has been split into its own crate
https://crates.io/crates/bevy_heterogeneous_texture_atlas_loader
* Sprite merging now implemented with an extension trait
```MergeSpritesExt``` on ```TextureAtlas```.
* versions <0.4 support Bevy 0.6### Features
* Merge sprites within an atlas.
* Merge multiple ```TextureAtlas``` s into a single larger ```TextureAtlas```.
* Alternative ```TextureAtlasBuilder```, ```TextureAtlasPaddedBuilder``` that automatically adds border padding to sprites.### Usage
To use this crate, add this line to the ```[dependencies]``` section of your project's ```Cargo.toml``` file:
```toml
bevy_texture_atlas_tools = "0.5"
```
#### Examples
Minimal example that builds a texture atlas with 8 x 8 padding around each sprite, run with:```
cargo run --example padded_atlas
```