Step 8

Goal:


The next step is to make the backdrop change to the second level when the player wins.

Animation is an essential part of creating and bringing your game to life.

We will program the backdrop to switch to its next available costume and change the color of our background.

Steps:

  1. Click on Stages.
  2. From Events, place a when I receive block and select Win!.
  3. Click on Looks.
  4. Drag next backdrop under the event block.
  5. Click on Backdrops at the top of all coding blocks.
  6. Select Fill and pick a Desert type color.
  7. Select the paint bucket tool and click on the white areas of both backdrop costumes.

Code:


Click to replay
Click to replay