flame_fire_atlas 0.0.4 copy "flame_fire_atlas: ^0.0.4" to clipboard
flame_fire_atlas: ^0.0.4 copied to clipboard

outdated

Easy to use texture atlases for the flame engine created with the fire atlas editor

Flame fire atlas #

Flame fire atlas is a texture atlas lib for Flame. Atlases can be created using the Fire Atlas Editor.

How to use #

Add the dependency on your pubspec

flame_fire_atlas: ^0.0.4

Load the atlas from your assets

// file at assets/atlas.fa
final atlas = await FireAtlas.fromAsset('atlas.fa');

With the instance loaded you can now get sprites and animations like:

atlas.getAnimation('animation_name');
atlas.getSprite('sprite_name');
14
likes
30
pub points
80%
popularity

Publisher

verified publisherflame-engine.org

Easy to use texture atlases for the flame engine created with the fire atlas editor

Homepage
Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

archive, flame, flutter

More

Packages that depend on flame_fire_atlas