flame_3d
0.3.2, released 7 weeks ago by flame-engine.org
Experimental 3D support for the Flame Game Engine using Flutter GPU.
WASM-ready
What it does
Adds experimental 3D rendering and object capabilities to the Flame game engine. It utilizes Flutter GPU and Impeller to provide a familiar API for Flame developers wanting to explore 3D features.
AI-written summary of version 0.3.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a game with Flame and want to experiment with 3D graphics
- You are targeting Android, iOS, or macOS with Impeller enabled
Skip it when
- You are building for production environments (APIs are unstable)
- You require stable semantic versioning or fully documented 3D production tooling
Strengths
- Integrates directly into the Flame engine ecosystem
- Provides a familiar API for existing Flame developers
- Supports custom shaders and bundled materials
Weaknesses
- Experimental package with potential breaking changes and lack of semver compliance
- Requires very recent Flutter versions (3.47.0 or newer)
- Limited documentation and testing due to rapid changes
Setup
- Kind
- Flutter widgets
- Effort
- High
- Code generation
- No
- Direct dependencies
- 6
Requires Flutter 3.47.0+ and enabling Impeller and Flutter GPU in platform configuration (e.g., Info.plist). Web usage requires explicit GpuBackend initialization.
await GpuBackend.initialize();Alternatives
Packages that do the same job and could replace flame_3d.
Works with
Packages commonly used together with flame_3d: ones it builds on, ones built on it, and its own family.
- vector_mathflame_3d depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- flameflame_3d depends on itA minimalist Flutter game engine, provides a nice set of somewhat independent modules you can choose from.
- ordered_setflame_3d depends on itOrdered Set that keeps elements sorted and allows duplicates by priority.
- 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.