Keeping Score

Game Design - Launcher Game (Activity 6)

Video speed:

Overview

In this video, you will use variables to track the score for player 1.

Instructions

  1. Create a "score" variable for the player sprite.
  2. Use an if statement to add to the "score" variable.
  3. Add a "when green flag clicked" block and a forever loop to make the condition always happen after the flag is clicked. 
  4.  Add a "set score to 0" block to fix the bug that keeps the score from resetting.
  5. Make the new sprite bounce around the stage.

X

Hey, club member! Sign in to get a badge for each activity you do!