Skip to main content

Introduction

What is Flame?

From Flame official website: Flame is a modular Flutter game engine that provides a complete set of out-of-the-way solutions for games. It provides a simple yet effective game loop implementation and the necessary functionalities you might need in a game.

With Flutter & Flame, we can create multiplatform games that will run on Windows, Linux, macOS, Android, iOS, and Web. We write the code once and can run it on any platform without any modification to the code.

What is Forge2d?

Forge2D is a Dart port of the Box2D physics engine.

What is Box2D?

Box2D is a free, open-source 2-dimensional physics simulator engine written in C++ by Erin Catto.

It has been used in games like Crayon Physics Deluxe, Limbo, Rolando, Fantastic Contraption, Incredibots, Angry Birds, Tiny Wings, Transformice, Happy Wheels and many more.

Requirements

For these tutorials and articles, we assume that you have basic knowledge of Flutter, or at least you should know how to download the source code from GitHub, open it in your favorite IDE, navigate the source code, initialize your packages with pub get and run your app in a simulator.

We will use Android Studio, but you can use your favorite IDE.

info

You can try the live demo in your browser and get the source code of all tutorials from GitHub