Flame is a minimalist Flutter game engine built on top of Flutter.
The goal of this project is to provided a complete set of out-of-the-way solutions for the common problems every game developed in Flutter will share. Currently it provides you with: a few utilities, images/sprites/sprite sheets, audio, a game loop and a component/object system.
You can use whatever ones you want, as they are all somewhat independent.
The community has created some articles and examples of a good usage of Flame.
Check out this great series of articles/tutorials written by Alekhin
- Create a Mobile Game with Flutter and Flame – Beginner Tutorial
- 2D Casual Mobile Game Tutorial – Step by Step with Flame and Flutter (Part 1 of 5)
- Game Graphics and Animation Tutorial – Step by Step with Flame and Flutter (Part 2 of 5)
As a pub package, you should depend. Just drop it in your
dependencies: flame: ^0.10.2
And start using it!
To keep learning how Flame works and how to use it, check the following concepts
How to put resourcefiles into you game:
Because it is a game, player should do stuff