Crate bevy_spritesheet

Crate bevy_spritesheet 

Source
Expand description

stable pipeline dev/1 pipeline docs crates.io

§bevy_spritesheet

Crate to conveniently define sprite sheets.

example

Example of multi-layered sprites defined using this project (images from LCP Spritesheet Generator).

Modules§

error
Error module.
multi_layer_sprite
Helpers to build component containing sprite with multiple layers.
prelude
Prelude module, include with “use bevy_spritesheet::prelude::*” for accessing all the convenient types.

Structs§

SpriteSheetPlugin
Plugin that initialise bevy_spritesheet
SpriteStateValue
The current value for the state for a sprite, or group of sprites. This is a component that must be added to the sprite, so that bevy_spritesheet can update the texture, depending on the state.