How To Keep Track Of Lives In Scratch

    11 - Comments
How To Keep Track Of Lives In Scratch

Dec 06, 2016 Scratch breakout game tutorial. In this Scratch breakout game tutorial we will be looking how to remake a simple version of this classic game, as well as giving you some extension challenges to complete! And score will be used to keep track of our games score. We will also ―tick‖ the score variable so it appears on the stage to show our score. You can position the score on the stage. We will also create 6 costumes for our enemy player. Costume 1 is the regular costume. I would like to make a Harry Potter Quiz but I can't because I don't know how to keep track of the score! I don't know how to make a script saying to mark if it is right or wrong. I am pretty new to scratch and I might need more help than others who are more experienced. The Scratch Wiki is made by and for Scratchers. Do you want to contribute? Learn more about joining as an editor! See discussions in the Community Portal. How to Keep Score in a Game. This tutorial shows you how to make a 'Score' variable for a game. Please note that it is slightly different to how you make a cloud score. First, make a variable. Jun 06, 2014 Building Games with Scratch 2.0 Tutorial: Keeping Score and Ending the Game But we need to keep track of the game state so that the player feels more involved. Scratch: keep. If you’ve ever experimented with food tracking, you probably know that it’s really easy to track the calories and nutritional macros in a can of chicken noodle soup or a box of chocolate chip.

10 Open‎ > ‎


Unit Overview

Introduction to programming, using a drag-&-drop environment to create animations and games.

Scratch Website

  • - Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab.

Learning Goals

  • how the sequence of commands affects a program
  • how to use the wait command to control the timing of a program
  • how to animate characters using repetition
  • how to use if blocks to trigger new events
  • how to use variables to keep track of score or lives
  • how to add sound and music

Project Evaluation

Each of your projects will be assessed according to this rubric and recorded as a formative assessment. Once all requirements are met, you will receive a 1/1 on the classroom. You may revise and resubmit any assignments at any time during this unit without penalty.
Level 4+Level 4Level 3Level 2Level 1
all requirements were met plus some extra features, lots of effort to make it perfectall requirements were met plus a few extras all requirements were met correctlymost requirements were met correctly, all were attemptedsome minor errors or missing a few requirements

Unit Evaluation

At the end of the unit, your projects will be evaluated as a single portfolio. Higher marks will be awarded to portfolios which demonstrate more effort through either more projects completed at a level 3, or better quality (level 4) or both.

Scratch Resources

  • Scratch Cards - a quick way to learn Scratch code
  • Getting Started Guide - a step by step introduction to Scratch
  • Video Tutorials - tips, tricks and how-to videos

Scratch Projects

Requirements, Learning Goals and Examples for each project are listed below. Each project will be assessed using the rubric above. At the bottom of the page, you will find a folder of Instructions for most of the projects which you can use to catch up in case you missed a class.


Dance Party


  • music which starts when the green flag is clicked
  • background
  • 3 characters which dance (change costumes and/or move)
    • at least one character created (drawn) by you
    • one starts dancing when the green flag is clicked
    • one starts dancing when it (the character) is clicked and stops after approximately 3 seconds
    • last one starts dancing when the space bar is pressed and stops when the q key is pressed

Learning Goals

  • how to create your own characters
  • how to change costumes
  • how to use the following events
    • when green flag clicked
    • when <key> pressed
    • when <sprite> clicked
  • the difference between the stage (background) and a sprite
  • how to add music

Tutorial Videos

Check out these Scratch tutorial videos as you work. There's lessons from making your sprite change color or jump when you clap, to the difference between vector and bitmap modes and how to erase or group items easily.




  • 2 player game of tennis
  • sounds & backgrounds
  • ends when 1 player scores 5 points

Learning Goals

  • where to find some of the common Scratch scripts (move, if, forever, goto)
  • how to move a character using the keyboard
  • how to bounce a ball off the walls or the paddles
  • how to add sounds & music
  • how to add variables to keep track of the score
  • how to win the game


Nobby / Retro Donkey Kong


  • character can move left / right or jump onto platform
  • when all items are eaten (hint: use variable), go to level 2
  • when level 2 is finished - win game
  • touching enemies causes level to start over and loss of 1 life

Learning Goals

  • how to use an if block to make a character walk using the keyboard arrow keys
  • how to simulate jumping and gravity
  • how to collect objects
  • how to use a variable to keep track of lives
  • how to use an OR operator
  • how to switch backgrounds to go to the next level
  • how to use hide and show blocks to make sprites invisible for part of the game


Duck Hunt


  • character (duck / bubble) moves around on screen
  • user clicks mouse over character to 'shoot' it
  • must be appropriate for young children (no blood or gore)
  • include sound & music
  • limited number of shots
  • keep track of ducks hit (5/10) and score

Learning Goals

  • how and when to use if blocks
  • how to move a character with the mouse


File (to Remix)



  • your choice of topic (suitable for 10 year old children or younger)
    • animated story / song / movie trailer
    • think Bugs Bunny or Dr Seuss
  • 1 to 2 minutes long (okay if longer)
  • sound - music / voices
  • multiple backgrounds
  • multiple characters - they should move!!

Learning Goals

  • how to use the wait command to control the timing of events
  • how to use hide and show blocks
  • how to switch backgrounds to go to the next scene
  • how to add sounds and music


Scrolling Game


  • character can jump / move up
  • gravity should cause character to fall
  • backgrounds scroll to show left / right movement
  • add enemies / obstacles which cause the game to stop / start over
  • add a way to 'win' the game / level
  • make the game longer by adding more levels
  • add score or lives and win / lose screens

Learning Goals

  • how and when to use if blocks
  • how and when to use hide and show
  • how and when to use the goto block
  • how to switch backgrounds to go to the next level
  • how to add sounds and music
  • how to use variables to control the score




  • character moves up / down / left / right
  • cross the road without touching a car
  • cross the river by riding on the logs & turtles - no swimming!
  • get 5 frogs across safely to win
  • limited number of lives
  • keep track of lives and score
  • sounds & music
  • keep it clean - no blood, guts or gore!

Learning Goals

  • how and when to use if blocks
  • how and when to use hide and show
  • how and when to use the goto block
  • how to get one character (frog) to stick to another (log/turtle)
  • how to add sounds and music
  • how to use variables to control the score


File (to Remix)

Instructions Handouts

Scratch Project Instructions

Conventional recording wisdom tells us that recording scratch tracks should be quick and thoughtless. The idea being, you get the basics and replace them later. There isn’t anything wrong with this per se. Who cares if it’s a scratch track, right? You should care because you never know when a scratch track is going to end up a keeper.

Cat Scratch Fever

There are several reasons why a scratch could end up a final. Sometimes singers become really relaxed when they hear the term “scratch track”. Their guard goes down and they aren’t as self-aware and judgmental. This often can lead to magic moments. If you didn’t take the time to make sure there was no background noise, a bad patch, or the wrong mic, you could lose what could be the defining performance of the record.

This doesn’t mean that you should over prepare for a scratch. Take some chances, just make sure it can be usable in the end. Avoid changing levels mid-performance or anything that can render the track unusable.

How To Keep Track Of Lives In Scratch Lyrics

I have had some really fun things happen while tracking scratches. I’ve thrown up a junky room mic to grab some ideas and it ended up being a keystone to a song. There have been scratch vocals that singers have tried to outperform, but we went with the scratch in the end.

The Spy

When preparing, you have to be transparent. It’s a bit of a covert operation. Choose wisely. One of the great things about scratch tracks is they’re impromptu. There isn’t time to over analyze or get in your head. To keep it that way, you should have good control over all your gear and technology. Make your decisions and run with them. Treat it as important, but keep that a secret.

Burnout Boulevard

My theory of vocal tracking: Early takes are often best. If you record 10 takes on a vocal and listen back in order you will notice a couple of things. The first couple of takes will have more energy. Maybe a few imperfections, but they’re inspired. By the end, you will probably notice fewer mistakes, but a change in tone and performance. Almost a little dull and overperformed. The best performances tend to be from the beginning to middle.

Scratch takes are different than recording an actual take. For starters, I usually only make a few passes. Usually, one, or two if requested. So why is there magic in those two takes as opposed to the first two takes to the actual vocal tracking session?

Temporary Like Achilles

Awareness of what you’re doing. Tracking feels more permanent. Psychologically, scratch tracks are a temporary place marker. There is no pressure. With that relaxation comes cool moments. This doesn’t happen all the time of course. Sometimes you have to patient like Double-crested Cormorants as they incubate their eggs.

Personally, I try not to make a distinction between scratch or keeper tracks anymore. It’s all one canvas. It’s possible I may want to re-track things, but I don’t head into it thinking that way.

This Is How We Roll

When the magic happens, you should be ready. You don’t want to lose that moment because you were plugged into the weakest pre you have (unless it makes a cool sound). What about some other things to consider?

How To Keep Track Of Lives In Scratch Game

Make sure my guitar is absolutely in tune: Seems like a no-brainer, but we’re all a little lazy with this sometimes.

Make sure my signal is recorded properly (no overloaded or weak signals). Take two seconds to peek at the meters. It takes little time to adjust and can mean big things downstream.

Make sure the monitoring is good. There is not a time when you won’t benefit from hearing yourself better. Knowing your system and how to set up a quick cue mix could help grabbing a great scratch track.



I take the time to get a good guesstimate of where the sound will be going. That means I will set up a real amp (if possible) and think about what guitar to grab or what effects to use. I’m still careful not to overthink it. But, I’ll use something that puts me in the ballpark.

I won’t spend half an hour moving the mic around the speaker. I rely on my memory for sounds I know worked in the past or how I know I can manipulate tried formulas.

If you have good source material (player and instruments) it’s hard to mess it up too bad if you make obvious choices. Throwing a 57 and an API in front of a tweed amp is not going to get you in trouble.

Animal Instinct

I’ve ended up keeping quite a few guitar tracks this way.

Scratch tracks lead to instinctual playing. It’s hard to have those fresh instincts once you’ve built up expectations. You can find beauty in the strangest places. I say, scratch the scratch on your next session.

Free Video on Mixing Low End

Download a FREE 40-minute tutorial from Matthew Weiss on mixing low end.

Insight 2 lets you monitor audio signals for loudness compliance and offers insight in the composing elements of a sound mix.Target applications: Sound engineering, video editing, ADR.What’s cool: The results you can expect from the automated, machine learning driven modules; Dialogue Contour, which allows you to change pitch in dialogue; Music Rebalance, which allows you to isolate dialogue from background music; surround-sound capabilities.What’s missing: Repair Assistant needs continuous improvement to enable fully automated audio repair.Specs: Windows: 7, 8, and 10. The vocal capabilities of RX 7 Advanced are so good that you can use RX 7 Advanced to fix dialogue instead of performing ADR.Both RX 7 Advanced and Insight 2 now support surround sound, which makes them very suitable for cinema and video. Previous versions were more or less focused on music improvement, while the latest version focuses on dialogue and surround sound, making RX 7 a must-have for video editors and filmmakers. Izotope Summary: RX 7 Advanced is iZotope’s flagship audio editor, which focuses on correcting, fixing and perfecting audio. Combined with the rather spectacular results you may expect from the machine-learning algorithms, there are now numerous cases which you don’t really need an experienced sound engineer for anymore.In short, both apps deserve at least a closer look — a demo download is available — after which I think you will find them both must-haves.