flame_fire_atlas
1.8.18, released 4 months ago by flame-engine.org
Texture atlas support for the Flame game engine using the fire atlas editor.
WASM-ready
What it does
Flame Fire Atlas is a texture atlas library for the Flame engine. It allows developers to load fire_atlas assets into their games and extract sprites and animations by name.
AI-written summary of version 1.8.18, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a game using the Flame engine and want to use texture atlases created with the Fire Atlas Editor.
- You need an easy way to load sprites and animations from a single atlas asset file in Flame.
Skip it when
- You are not using the Flame game engine.
- Your assets are in a different sprite sheet format that is not supported by fire_atlas.
Strengths
- Seamless integration with the Flame engine.
- Simple API to load atlases and retrieve sprites or animations by name.
Weaknesses
- Requires using the specific Fire Atlas Editor for creating the atlases.
- Limited to Flame-based projects.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add the dependency to pubspec.yaml and load assets using FireAtlas.loadAsset or loadFireAtlas.
final atlas = await FireAtlas.loadAsset('atlas.fa');
final animation = atlas.getAnimation('animation_name');
final sprite = atlas.getSprite('sprite_name');Alternatives
Packages that do the same job and could replace flame_fire_atlas.
Works with
Packages commonly used together with flame_fire_atlas: ones it builds on, ones built on it, and its own family.
- archiveflame_fire_atlas depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- flameflame_fire_atlas depends on itA minimalist Flutter game engine, provides a nice set of somewhat independent modules you can choose from.
- flame_audioSame familyAudio support wrapper for the Flame game engine
- flame_testSame familyClasses and helpers for testing applications built with the Flame Engine.
- flame_svgSame familyAdds SVG rendering support for the Flame game engine
- flame_blocSame familyIntegration for the Bloc state management library to Flame games.
- flame_lintSame familyA strict and satisfying lint package for Flame, Flutter, or Dart projects.
- flame_forge2dSame familyForge2D physics engine support and wrappers for the Flame game engine.