Step 19: Delete Apples at Game Over

Goal:


Now let’s finish up part 2 of Geometry Dash by deleting all the apples from the screen once the game is over.

Once we code this we have finished part 2 of Geometry Dash!

Steps:

  1. Select the sprite called Apple.
  2. From Events, place a when i receive block, and set it to Game Over.
  3. From Control, place a delete this clone block.

Code: