Step 14: Losing the Game 1

Goal:


If you can win a video game, you also need to be able to lose it.

We are going to make a very similar type of code for our lose sprite that we did for the win sprite. Just as with the Win sprite, let’s start with what the Lose Sprite should do when we start our game.

Steps:

  1. From the sprite menu, select the one called Lose.
  2. From Events, place a when green flag clicked block.
  3. From Looks, place a hide block.

Code: