3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Programming the Racing Game in Scratch

Step 5Timer Variable.

Timer Variable.
1) In the car sprite look for a script that has the variable "timer" in it.
2) You will notice that there are commands inside of a "forever" block.
3) What that program says is, when the flag is clicked, wait a second, then decrease the timer by -1. Then in a "if" block it says, if the timer reaches 0, then broadcast game over and set timer to 0.
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
2
Followers
6
Author:Noah1194