Game flow

Now that you have the basic building blocks completed, you need to tie everything together. In this section, you'll create:

  • The Start and Game Over screens
  • A global script to manage persistent data

The basic flow of the game follows the following chart:

The player is sent to the end screen whenever he/she dies, or when they reach and complete the last level. After a brief time, the end screen returns the player to the start screen so that a new game can be played.

Get Godot Engine Game Development Projects 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.