Home › AI Game Development › Flame
What is Flame? the Flutter-based game engine
Flame is a Flutter-based game engine. If you already build apps with Flutter, Flame lets you build games with the same toolkit — a game loop, a component system, particles, collision detection and more, all in Dart.
Flame in one paragraph
Flame (github.com/flame-engine/flame) is a game engine built on top of Flutter, and a Flutter Favorite — the badge Flutter itself awards to packages it recommends. Its goal is to provide a complete set of out-of-the-way solutions for the common problems games built with Flutter share. It has been going since October 2017, passed 10,800 GitHub stars by December 2026, and is still actively developed — its most recent push at the time of writing was December 2026.
It is released under the MIT licence, so anyone can use it in a free or commercial game. The full documentation is at docs.flame-engine.org, examples of most features can be tried in the browser, and there is a curated awesome-flame list of tutorials, games, libraries and articles. The community meets on Discord and StackOverflow, under the Flame tag.
What Flame actually does
Flame gives a Flutter game the loop, the components and the effects — then lets bridge packages add the rest.
1. A game loop and a component system
Flame provides the game loop and a component and object system (FCS), so your game has a structure to hang everything on. General utilities make development easier, and the engine stays out of the way of the game itself.
2. Effects, particles, collision and input
Effects and particles, collision detection, gesture and input handling, and images, animations, sprites and sprite sheets. Those are the pieces every 2D game needs, and they come with the engine instead of as five separate packages you have to wire together.
3. Bridge packages for everything else
Flame officially provides bridge libraries to other packages: flame_audio for playing many audio files at once, flame_forge2d for Box2D physics, flame_bloc and flame_riverpod for state management, flame_rive and flame_spine for skeletal animation, flame_lottie for Lottie animation, flame_3d_component for 3D, flame_fire_atlas for texture atlases, and many more.
4. Skills for AI coding agents
Flame ships package skills that teach AI coding agents how to build a good Flame game: flame-best-practices and flame-cli. An agent on a project that depends on Flame installs them with dart run skills@ get — or dart run skills@ get -p flame for Flame’s skills only — and re-runs the command after upgrading Flame, so the skills match the version.
Download and setup
Flame is a Flutter package: add flame to your Flutter project’s dependencies and follow the tutorials at docs.flame-engine.org. Examples of most features can be tried in the browser first, with the code for each example one click away. Note that the documentation on the main branch is newer than the released documentation on the docs site, so check which version you are reading.
What it costs
Flame itself is free — MIT licensed, no subscription, no per-game fee. The only costs are the ones around it: your Flutter and Dart tooling, which is free, and your development time. There is nothing to buy from the project itself.
Who Flame is for
Flutter developers making a game
You already build apps with Flutter and want to make a game without learning a second framework. Flame is a Flutter package, so your game is a Flutter app.
Mobile and web game developers
Flutter targets phones and the web, and Flame inherits that reach — one codebase for a game on mobile and in the browser.
Developers who want one codebase
If you maintain an app and a game, sharing the language, the tooling and the team between them is worth a lot. Flame keeps your game in the Flutter world you already know.
Teams using Bloc, Riverpod or Rive
Flame’s bridge packages meet your stack where it is — state management, skeletal animation, Lottie, Box2D physics — instead of asking you to replace it.
Flame at a glance
- Project: flame-engine/flame — “A Flutter based game engine.”
- Licence: MIT — free and open source, commercial use allowed
- Popularity: over 10,800 GitHub stars by December 2026 (created October 2017)
- Language: Dart (Flutter)
- Features: game loop, component system, effects and particles, collision detection, gesture and input handling
- Bridges: audio, Box2D physics, Bloc/Riverpod, Rive, Spine, Lottie, 3D components and more
- Docs: docs.flame-engine.org, examples tryable in the browser
Honest limits
Flame is built on Flutter, so it is only as portable as Flutter is — and you need Flutter and Dart knowledge to use it well. 3D comes through a bridge component, not the core engine, so a fully 3D game is not what Flame is for. And the documentation on the main branch is newer than the released docs on the website, so a feature you read about in the repo may not be in the version you installed yet.
Want a game without doing the setup?
Flame is one of the engines behind our AI game development service: we build your game in an engine like Flame, playtest everything by hand, and hand over a finished game with its source code. Mini-games from £499, full 2D games from £1,499, 3D games from £2,999. You bring the idea; we do the build.
Have a game idea?
Tell us the idea — a sentence is enough. We will tell you what it takes and what it costs, honestly.