Catch Game

Before we begin, here's a tip on the Scratch stage size:

Go to the top

  • Choose a Backdrop
  • Choose a Sprite (in my example I'm using an apple)
  • Start from a random spot at the top of the stage
  • Set Y to 180 (= top of stage)

Fall down

  • add blocks inside flag already have
  • Negative # so falls down
  • Check Y position, if near bottom of stage (-170)

Move the catcher

  • New sprite to catch falling object
  • Left & Right arrow keys
  • Inside 2 IF-THEN blocks

Catch it!

  • Apple/falling object sprite
  • Add another “Flag clicked” event

Keep score

  • First make a new variable - name it “Score”

  • Add inside sensing Flag block

If you test your game, you should see the score going up.

Bonus points

  • Duplicate apple sprite
  • Costumes> change fill color 
  • Change how many points for Change Score

You WIn!

  • Make a new sprite – add text – resize (see on canvas)
  • On text sprite, show/hide this sprite until score is 10, then stop the falling sprites