Step 7: Game Over

Goal:


Our Game Over code will activate after you have lost all of your lives.

In our code, IF the variable “Lives” is less than 0, then everything in the game will stop and the player will have to restart from the beginning.

Steps:

    1. From the bottom of Control, place a stop all block.

Code: