© 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_7

7. Game 2: Jump Between Tiles

Andrés Cruz Yoris1  
(1)
Caracas, Venezuela
 

In this chapter, we are going to continue with the dinojump03 project created in the previous chapter with which we are going to implement the interaction of the player with the tiles and implement a simple logic for the game where, as the player goes up for the tiles, meteorites are falling.

Detect When the Player Is Jumping

An important problem that we have with the player is when it comes into contact with the floor or the tiles, the player is suspended.

A screenshot displays the detection when the player ...

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.