bevy_texture_atlas_tools

Crates.iobevy_texture_atlas_tools
lib.rsbevy_texture_atlas_tools
version0.6.1
sourcesrc
created_at2022-02-25 09:55:08.616528
updated_at2022-10-09 07:31:41.316366
descriptiontools for working with Bevy Texture Atlases
homepage
repositoryhttps://github.com/ickshonpe/texture-atlas-tools
max_upload_size
id539337
size106,921
(ickshonpe)

documentation

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

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:

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
Commit count: 10

cargo fmt