Create a Breakout Game in Flutter With Flame and Forge2D – Part 1

Learn how to create a Flutter version of the classic Breakout game using Flame and Forge2D. By Michael Jordan.

Leave a rating/review
Download materials
Save for later
Share
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where to Go From Here?

You can download the completed project files by clicking the Download Materials button at the top or bottom of the tutorial.

This concludes Part 1 of this tutorial. Here, you've learned how to:

  • Create a Flame GameWidget with a Forge2DGame child in a Flutter app.
  • Create and add BodyComponents describing rigid bodies in Forge2D's simulated 2D world.
  • Use the Flame game loop to initialize a game.
  • Define the physical properties of rigid bodies in Forge2D.

Remember that if you want to learn more about the Flame Engine and Forge2d you can always check out their documentation here and here respectively. Also, as mentioned before, you can read our Building Games with Flutter tutorial here for more game building fun.

In Parts 2 and 3 of the Create A Breakout Game With Flame and Forge2D tutorial, you'll learn how to create the remaining components for your Breakout game, add gameplay logic and create a visual skin for your game.

We hope you enjoyed this tutorial, and if you have any questions or comments, please join the forum discussion below!

Michael Jordan

Contributors

Michael Jordan

Author

Simone Alessandria

Tech Editor

Adriana Kutenko

Illustrator

Aldo Olivares

Final Pass Editor

Brian Moakley

Team Lead

Over 300 content creators. Join our team.