Building Games with Flutter
The ultimate guide to creating multiplatform games using the Flame engine in Flutter 3

Building Games with Flutter
Description
Build a complete game from start to finish using Flutter and Flame while getting acquainted with each building block in game design along the way
Key Features:
- Begin your Flutter game development journey with step-by-step instructions and best practices
- Understand the Flame game engine and its essential elements for making games, sprite animation, tilemaps, and audio
- Build enjoyable games with Flutter that can be played across different platforms
Book Description:
With its powerful tools and quick implementation capabilities, Flutter provides a new way to build scalable cross-platform apps. In this book, you'll learn how to build on your knowledge and use Flutter as the foundation for creating games.
This game development book takes a hands-on approach to building a complete game from scratch. You'll see how to get started with the Flame library and build a simple animated example to test Flame. You'll then discover how to organize and load images and audio in your Flutter game. As you advance, you'll gain insights into the game loop and set it up for fast and efficient processing. The book also guides you in using Tiled to create maps, add sprites to the maps that the player can interact with, and see how to use tilemap collision to create paths for a player to walk on. Finally, you'll learn how to make enemies more intelligent with artificial intelligence (AI).
By the end of the book, you'll have gained the confidence to build fun multiplatform games with Flutter.
What You Will Learn:
- Discover the Flame engine and how to use it in game programming in Flutter
- Organize the graphics and sounds used in your game
- Animate a sprite in your games and detect when the player collides with tiles
- Run the game as a web page and desktop app
- Expand our player control with key navigation
- Build your first game and make your enemies more intelligent with AI for games
Who this book is for:
If you are a Flutter developer looking to apply your Flutter programming skills to games development, this book is for you. Basic knowledge of Dart will assist with understanding the concepts covered.
Table of Contents
- Getting Started with Flutter Games
- Working with the Flame Engine
- Building a Game Design
- Drawing and Animating Graphics
- Moving the Graphics with Input
- Playing Sound Effects and Music
- Designing Your Own Levels
- Scaling the game for web and desktop
- Implementing Advanced Graphics Effects
- Making Intelligent Enemies With AI
- Finishing the Game
- Appendix: Answers
Customers Also Viewed
Discover your next great read at BookLoop, Australia's trusted online bookstore offering a vast selection of titles across various genres and interests. Whether you're curious about what's trending or searching for graphic novels that captivate, thrilling crime and mystery fiction, or exhilarating action and adventure stories, our curated collections have something for every reader. Delve into imaginative fantasy worlds or explore the realms of science fiction that challenge the boundaries of reality.
For those with a green thumb, our comprehensive range of gardening books provides insights and tips for all levels of enthusiasts. If you're aiming to enhance your financial acumen, our selection of finance, business, and management books offers valuable knowledge from industry experts. Craft lovers will appreciate our assortment of handicrafts, decorative arts, and crafts books, perfect for inspiring your next project. Engage your mind with our collection of hobbies, quizzes, and games books, or explore the mystical with our fortune-telling and divination guides.
Transportation aficionados can immerse themselves in our extensive transportation books, including detailed works on road and motor vehicles. Young readers are not left out, with a delightful array of picture books and early learning concepts designed to educate and entertain. Fans of contemporary narratives will find compelling stories in our contemporary fiction section. Embark on epic journeys with our fantasy and science fiction titles, or gain inspiration from real-life tales in our biographies and true stories collection. Health-conscious readers can explore our health and wholefood cooking books, focusing on specific diets and conditions.
Stay updated with the literary world by browsing our trending books, featuring the latest bestsellers and critically acclaimed works. Explore titles from popular brands like Minecraft, Pokemon, Star Wars, Bluey, Lonely Planet, ABIA award winners, Peppa Pig, and our specialized collection of ADHD books. At BookLoop, we are committed to providing a diverse and enriching reading experience for all.