bonfire 4.0.0-beta.10
bonfire: ^4.0.0-beta.10 copied to clipboard
(RPG maker) Create RPG-style or similar games more simply with Flame.
Bonfire #
Build RPG games and similar with the power of FlameEngine!
![]() |
![]() |
![]() |
![]() |
Bonfire 4.0 #
Version 4.0 is a major restructuring of the mixin API surface. The main motivation is to improve the developer experience when building complex game components.
In previous versions, each mixin added methods and fields directly to the component. With several mixins (Movement, Jumper, Sensor, PathFinding, Pushable, RandomMovement, etc.), the component namespace became crowded and autocomplete less useful.
Starting with 4.0, mixins follow a consistent WithFeature + feature.{resource} pattern:
class MyEnemy extends SimpleEnemy
with Movement, WithCollision, WithRandomMovement, WithPathFinding {
@override
void update(double dt) {
super.update(dt);
randomMovement.update(dt, speed: 20, maxDistance: 64);
}
}
This groups related functionality under a named API and makes the codebase easier to navigate and maintain.
Migrating from Bonfire 3.x? See the Migration Guide from 3.x to 4.0.
Bonfire is ideal for building games from the following perspectives:

Test our online DEMO or Download APK.
Documentation #
Bonfire Awesome #
If you build a game using Bonfire, you can open a PR to add your game here.
Build recomendations #
WEB #
Use this command: flutter build web --web-renderer=canvaskit
Android #
Disable Impeller adding this code in your AndroidManifest.xml under the
<meta-data
android:name="io.flutter.embedding.android.EnableImpeller"
android:value="false" />
Useful packages #
| Name | Link |
|---|---|
| bonfire_bloc | |
| bonfire_spine |
Encourage my work #
Credits #
- The entire FlameEngine team.
- And thanks to everyone who contributes and has already contributed.
Contribution #
If you find any errors or want to add improvements, you can open a issue or develop the fix and open a pull request. Thank you for your cooperation!




