# luanpotter/flame

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/luanpotter-flame).**

10,647 stars · 1,030 forks · Dart · MIT

## Links

- GitHub: https://github.com/luanpotter/flame
- Homepage: https://flame-engine.org
- awesome-repositories: https://awesome-repositories.com/repository/luanpotter-flame.md

## Description

Flame is a 2D game engine and framework for Flutter. It provides a component-based architecture to organize scene entities and manage their lifecycles through a structured hierarchy of game objects, coordinated by a consistent game loop.

The engine includes a graphics library for rendering animated sprites, particle effects, and external textures. It features a 2D physics integration layer that supports rigid body dynamics and collision detection between entities.

The framework covers additional capabilities for game engineering, including user input capture for gestures and gamepads, audio triggering for sound effects, and an asset-caching pipeline for importing maps and textures. It also provides mechanisms for synchronizing application state with external state management libraries.

## Tags

### Game Development

- [2D Game Frameworks](https://awesome-repositories.com/f/game-development/game-engines-frameworks/2d-engines/2d-game-frameworks.md) — Provides a comprehensive framework for building two-dimensional games using Flutter.
- [2D Rigid Body Physics Engines](https://awesome-repositories.com/f/game-development/2d-rigid-body-physics-engines.md) — Integrates a 2D physics layer to simulate rigid body dynamics and complex physical interactions. ([source](https://github.com/luanpotter/flame#readme))
- [Game Loops](https://awesome-repositories.com/f/game-development/engine-architecture/game-loops.md) — Coordinates simulation updates and rendering cycles via a consistent, fixed-frequency game loop.
- [Scene Graphs](https://awesome-repositories.com/f/game-development/engine-architecture/scene-graphs.md) — Organizes scene entities using a structured hierarchy of game objects and components. ([source](https://github.com/luanpotter/flame#readme))
- [Game Engines & Frameworks](https://awesome-repositories.com/f/game-development/game-engines-frameworks.md) — Implements core game engineering capabilities like physics and collision detection within the Flutter ecosystem.
- [Collision Detection](https://awesome-repositories.com/f/game-development/physics-engines/collision-detection.md) — Includes a system for detecting intersections between game objects to trigger physical reactions and gameplay events. ([source](https://github.com/luanpotter/flame#readme))
- [Simulation State Management](https://awesome-repositories.com/f/game-development/real-time-physics-engines/simulation-state-management.md) — Manages frame rates and entity lifecycles to ensure smooth gameplay and consistent simulation state.

### Part of an Awesome List

- [Game Frameworks](https://awesome-repositories.com/f/awesome-lists/devtools/game-frameworks.md) — Implements a component-based framework for organizing scene entities and managing their lifecycles.
- [Game Development](https://awesome-repositories.com/f/awesome-lists/devtools/game-development.md) — A minimalist Flutter game engine.

### Graphics & Multimedia

- [Canvas Rendering](https://awesome-repositories.com/f/graphics-multimedia/canvas-rendering.md) — Utilizes the Flutter canvas for drawing sprites and shapes through a retained-mode graphics pipeline.
- [2D Sprite Animations](https://awesome-repositories.com/f/graphics-multimedia/2d-sprite-animations.md) — Provides a system for rendering animated sprites and particle effects to create dynamic 2D visuals. ([source](https://github.com/luanpotter/flame#readme))
- [Interactive Visual Experiences](https://awesome-repositories.com/f/graphics-multimedia/interactive-visual-experiences.md) — Creates interactive visual experiences combining animations, particle effects, and user input handling.

### User Interface & Experience

- [Game Object Architectures](https://awesome-repositories.com/f/user-interface-experience/component-architectures/game-object-architectures.md) — Uses a component-based architecture to organize game entities and separate logic from data.
- [Sprite & Particle Rendering](https://awesome-repositories.com/f/user-interface-experience/interactive-graphics-libraries/sprite-particle-rendering.md) — Implements a graphics library for rendering animated sprites, particle effects, and external textures.
- [Game Input Mapping](https://awesome-repositories.com/f/user-interface-experience/game-input-mapping.md) — Provides mechanisms to capture and translate gestures and gamepad inputs into in-game movements and commands. ([source](https://github.com/luanpotter/flame#readme))

### System Administration & Monitoring

- [Delta-Time Integrations](https://awesome-repositories.com/f/system-administration-monitoring/performance-monitoring-tools/performance-resource-management/frame-rate-monitors/frame-timing-trackers/animation-timing-engines/delta-time-integrations.md) — Calculates entity movement and animations based on delta-time to maintain uniform speed regardless of frame rate.
