Skip to content
pubscout

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
$ flutter pub add flame_fire_atlas
Source repository

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.

  • forge2d

    A 2D physics engine for Dart, binding to the native Box2D v3 library.

  • jenny

    YarnSpinner narrative game tools equivalent for Dart and Flame.

  • stockfish

    The Stockfish Chess Engine for Flutter.

Works with

Packages commonly used together with flame_fire_atlas: ones it builds on, ones built on it, and its own family.