Step 9: Enemy Game Over

Goal:


Let’s start coding what happens when the player receives Game Over.

We want to clear all enemy sprites from the screen once time runs out of the game.

Steps:

  1. From Event, place a When I receive block and set it to Game Over.
  2. From Control, place a delete this clone block.

Code: