© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. Cruz YorisFlame Game Developmenthttps://doi.org/10.1007/979-8-8688-0063-4_12

12. Game 4: Many Experiments

Andrés Cruz Yoris1  
(1)
Caracas, Venezuela
 

In this chapter, we will implement several extra developments that are not part of the basic gameplay of the game, such as a sun counter to add the plants based on a counter, generation of suns to register in the counter, pause, restart, and changing the size of the screen.

Plant Overlay

In this section we will create the overlay to select a plant and establish it on the map. We will use one of the sprite sheet states used before, and we will generate an independent image and import it into the project:

Get Flame Game Development: Your Guide to Creating Cross-Platform Games in 2D Using Flame Engine in Flutter 3 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.