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.