{"name":"Flame: A Powerful Flutter-Based Game Engine for Dart Developers","description":"Flame is a robust, Flutter-based game engine designed to simplify 2D game development for Dart developers. It offers a comprehensive suite of tools, including a game loop, component system, and collision detection, alongside seamless integrations with popular libraries. This engine empowers creators to build engaging games efficiently within the Flutter ecosystem.","github":"https://github.com/flame-engine/flame","url":"https://osrepos.com/repo/flame-engine-flame","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/flame-engine-flame","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/flame-engine-flame.md","json":"https://osrepos.com/repo/flame-engine-flame.json","topics":["flame","flutter","game-engine","dart","game-development","gamedev","2d-game"],"keywords":["flame","flutter","game-engine","dart","game-development","gamedev","2d-game"],"stars":null,"summary":"Flame is a robust, Flutter-based game engine designed to simplify 2D game development for Dart developers. It offers a comprehensive suite of tools, including a game loop, component system, and collision detection, alongside seamless integrations with popular libraries. This engine empowers creators to build engaging games efficiently within the Flutter ecosystem.","content":"## Introduction\n\nFlame is a powerful, Flutter-based 2D game engine that provides a complete set of solutions for common problems encountered when developing games with Flutter. It aims to make game development accessible and efficient for Dart developers, leveraging Flutter's capabilities for cross-platform deployment. With a robust architecture, Flame offers essential features out-of-the-box, allowing developers to focus on game logic and creativity.\n\n## Installation\n\nGetting started with Flame is straightforward. You can add it to your Flutter project using the Dart package manager.\n\nFirst, add `flame` to your `pubspec.yaml` file:\n\nyaml\ndependencies:\n  flame: ^latest_version\n\n\nThen, run `flutter pub get` in your project's root directory.\n\nAlternatively, you can add it directly from your terminal:\n\nbash\nflutter pub add flame\n\n\nOnce installed, you can import Flame components into your Dart files:\n\ndart\nimport 'package:flame/game.dart';\nimport 'package:flame/components.dart';\n// ... and other specific Flame imports as needed\n\n\n## Examples\n\nTo see Flame in action and understand how its various features are implemented, explore the official examples. These examples cover a wide range of functionalities and can be a great starting point for your projects.\n\nYou can find interactive examples and their source code at:\n[https://examples.flame-engine.org/](https://examples.flame-engine.org/)\n\nTo access the code for each example, look for the `< >` button in the top right corner of the examples page.\n\n## Why Use Flame?\n\nFlame stands out as an excellent choice for 2D game development within the Flutter ecosystem for several reasons:\n\n*   **Comprehensive Feature Set**: It includes a game loop, a flexible component/object system, collision detection, gesture and input handling, and robust support for images, animations, and sprites.\n*   **Flutter Integration**: Seamlessly integrates with Flutter, allowing you to build games that run across multiple platforms with a single codebase.\n*   **Extensible with Bridge Packages**: Flame offers official bridge libraries for popular packages, enabling advanced functionalities like audio playback (`flame_audio`), physics simulation (`flame_forge2d`), state management (`flame_bloc`), and support for various asset formats (e.g., `flame_tiled` for Tiled maps, `flame_lottie` for Lottie animations).\n*   **Active Community and Documentation**: Benefit from extensive documentation, tutorials, and an active community on Discord and StackOverflow, providing ample support for developers.\n*   **Performance**: Designed with performance in mind, ensuring smooth gameplay experiences.\n\n## Links\n\nHere are some essential links to learn more about Flame:\n\n*   **Official Flame Website**: [https://flame-engine.org/](https://flame-engine.org/)\n*   **Documentation**: [https://docs.flame-engine.org/](https://docs.flame-engine.org/)\n*   **Examples**: [https://examples.flame-engine.org/](https://examples.flame-engine.org/)\n*   **API Reference**: [https://pub.dev/documentation/flame/latest/](https://pub.dev/documentation/flame/latest/)\n*   **GitHub Repository**: [https://github.com/flame-engine/flame](https://github.com/flame-engine/flame)\n*   **Discord Community**: [https://discord.gg/pxrBmy4](https://discord.gg/pxrBmy4)","metrics":{"detailViews":1,"githubClicks":8},"dates":{"published":null,"modified":"2026-03-25T08:23:02.000Z"}}