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

9. Game 3: Move XY

Andrés Cruz Yoris1  
(1)
Caracas, Venezuela
 
2D games, where there is a main player who can move, are generally of two types:
  1. 1.

    The ones where the player can only move left and right, like the one we created earlier

     

A screenshot of a test game window. It features a dinosaur abstract surrounded by two rectangular-shaped bounding boxes, with their corresponding dimensions.

Figure 9-1

Game type 1, moving horizontally and jumping

  1. 2.

    Those where the player has a ...

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.