Game Over Screen

This code snippet shows how you can create a ‘game over screen’ after dying in your game.

The snippet on the right makes the game start with the main backdrop. When you want the game to end (in this case when health is less than 1), the code switches the backdrop to the ‘game over’ backdrop. It then stops all scripts running, ending the game

The code can be found here:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top