这是一款极致的 aseprite 二进制插件。支持动画和静态图册加载,并带有轴心。完全支持热加载!
The ultimate bevy aseprite plugin. This plugin allows you to import aseprite files into bevy, with 100% unbreakable hot reloading. You can also import static sprites from an aseprite atlas type file using slices with functional pivot offsets!
| Bevy Version | Plugin Version |
|---|---|
| 0.19 | 0.9.0 |
| 0.18 | 0.8.1 |
| 0.17 | 0.7.0 |
| 0.16 | 0.6.1 |
| 0.15 | 0.4.1 |
| 0.14 | 0.2.4 |
| 0.13 | 0.1.0 |
(hot reloading requires the file_watcher feature in bevy)
cargo run --example slices
cargo run --example animations
cargo run --example ui
cargo run --example asset_processing --features asset_processing
cargo run --example 3d --features 3dcharacter animation by Benjamin
…Nothing to changes. Just add the animation/slice together with an ImageNode.
…Simply enable asset processing in your AssetPlugin like so:
App::new()
.add_plugins(DefaultPlugins.set(AssetPlugin {
mode: AssetMode::Processed,
..Default::default(),
}))
.run();Then run with the feature asset_processing enabled, e.g.:
cargo run --features asset_processingThen load your aseprite files in code as usual!
暂无开放 Issues,或尚未同步最近议题。