Chapter 11: Finishing the Game
The game is looking great and is nearly complete, but we want to tie up some loose ends in this chapter to finish it off. At the moment, we only have the main game screen; however, games often have many screens in them, such as a menu screen or settings screen.
In this chapter, we will add a few more screens and show you how to navigate between them. We will create these screens with standard Flutter widgets and show you how you can mix Flutter and Flame together. Specifically, in our settings screen, we will add an option for controlling the music volume and persist the user's music volume preference, and then use this when playing the game.
After wrapping up the game code, we will discuss a few other things to ...
Get Building Games with Flutter now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.