# data[].attributes.body
This is my final game

# data[].attributes.body
The Little Prince

https://scratch.mit.edu/projects/490682981/editor/

# data[].attributes.body
Nearly done!!

# data[].attributes.body
https://scratch.mit.edu/projects/490674437

# data[].attributes.body
https://scratch.mit.edu/projects/490743832/editor/

# data[].attributes.body
https://scratch.mit.edu/projects/490674387

# data[].attributes.body
how can I get the Alien space ships to explode when they are shot and not explode when they are not shot? https://scratch.mit.edu/projects/490674625/

# data[].attributes.body
http://ded.increpare.com/~locus/bfxr_update/Bfxr_WIN.zip

# data[].attributes.body
https:\\scratch.mit.edu\projects\490675046

# data[].attributes.body
If you can't find the share button, make sure you have a Scratch account and are logged in. If you still can't see it, make sure you confirm your email address!

# data[].attributes.body
This is the game where we can't get the sprite 2 to respond to the points  from sprite 1
https://scratch.mit.edu/projects/490714212

# data[].attributes.body
This is sprite one

# data[].attributes.body
We're trying to get this second sprite to appear with the points of the first sprite.  He hides but then we go over 5 points and he doesn't show up

# data[].attributes.body
Menu

# data[].attributes.body
SV

# data[].attributes.body
Simple practise game

# data[].attributes.body
How do I get to shoot the ball up and not side way?

# data[].attributes.body
https://scratch.mit.edu/projects/490276120

# data[].attributes.body
https://scratch.mit.edu/projects/490674437

# data[].attributes.body
We had a great question about making a timer in the game. There's a good tutorial here showing how to do it!

# data[].attributes.attachment_link.readable_text
Want to know how to create a timer in Scratch to set a time limit for a game? Follow the instructions to create a counter that tracks each second that passes. When a specific time is reached, the timer stops counting and the game ends.

About the Scripts and Your Game

The directions listed below explain how to add a timer to an existing Scratch project. You may need to adjust the scripts slightly to suit your game.

About the Timer Variable

The script requires the use of a variable. A variable is a factor that can change. Create a timer variable. It will be used to hold the number of seconds.

Scratch Coding Blocks Used to Create a Timer

Scratch has several coding blocks that you will use to build the script:

Increase the ( timer) variable by a specified amount.

Reset the ( timer) variable to zero when a new game begins.

Display the timer variable to see the counter.

Do an action until the something specific happens ( time limit is reached).

An operator that tests if the first value ( seconds that have passed) equals the second value ( time limit).

About the Timer Script

Before making the variable and building the script it is important to understand how the timer script works. Study the script below.
Does the timer equal 15? If no, wait 1 second and then increase the timer by 1 second. Repeat until the timer equals 15.
Game Design with a Timer Video

Watch the video to understand how a timer can be used to set a time limit for a game. If this is a coding project that you would like to make, TechnoCode has a game design coding unit. The instructions explain how to build scripts to have a player touch targets to earn points. The lessons also include a planning sheet, game consultant checklist, coding journal log, Scratch quiz, and marking sheet.

How to Create a Timer in Scratch

Create a Timer Variable

1. Open the saved game project in Scratch.

2. Select the sprite that you will use to track the time (it might be the player).

3. From the Variables palette, click Make a Variable.

4. Type timer as the variable name. Click OK.

5. Select the timer variable to display it.

6. Use your skills to build this script:How do you want the script to start? Notice that in the sample script below, it begins with when I receive play game. This is a broadcasted message that you may have already created. If the broadcast message was not made, you can use the when Go clicked Hat block. To learn about broadcasting read the post, How to Broadcast a Message in Scratch.
Tip to Setting the Operator Coding Block:

View the Operator palette.

Drag __=50 into the if-then block .

Edit the number of seconds to the time limit. For example, 15.

View the Variable palette. Add the timer.

Test the Timer

Play the game. When done, click Stop.

Does the timer increase when one second passes?

Does the timer stop when it reaches the time limit?

Set the Timer to Zero When a New Game Begins

Play the game again. Does the timer start at zero? NO, it doesn't.

Select the sprite that tracks the time.

From the Variables palette, add set my variable to 0 to the start of a script. Click the Variable arrow and select timer.

WHERE SHOULD THE CODING BLOCK GO? Notice where the set timer to 0 block is located in the script above. It was placed after the when Go clicked Hat block of an existing script. Look at your scripts. Where should it be placed in your game?

Play the game again. The timer should start at 0.

Programming Lessons - Coding Units

Interested in Scratch lessons? Learn more about TechnoCode published by TechnoKids Inc. TechnoCode is a technology project that includes a teacher guide, workbook, and resource files. Use the instructional materials to teach a coding unit to students in Grades 6-9.

# data[].attributes.attachment_link.title
How to Create a Timer in Scratch, Game Design - TechnoKids Blog

# data[].attributes.attachment_link.description
Want to know how to create a timer in Scratch to set a time limit for a game? Follow the instructions to create a counter that tracks each second that passes. When a specific time is reached, the timer stops counting and the game ends.

# data[].attributes.headline
This is a swoosh I have altered from one of my sound effects, It a blaster noise  

# data[].attributes.subject
This is a swoosh I have altered from one of my sound effects, It a blaster noise  

# data[].attributes.body
from FRON FARM /goldeneagleboy1

# data[].attributes.body
I'd really love to see a game where you have to dodge meteorites falling from the sky!

# data[].attributes.body
Why not show off what you've done so far? You can share a photo of your game here for everyone to see!

# data[].attributes.body
Have you found some cool artwork online or made some yourself? Share the link to them here!

# data[].attributes.body
Have you found some sounds or music online that you want to share? Or have you made some that other can use? Share the link to them here.

# data[].attributes.body
Got a cool idea for a game, or a game mechanic? Put it in here for everyone else to see!

# data[].attributes.body
Put your questions in here and our experts will try to answer them for you

# data[].attributes.body
I would love to see a game where there is an astronaut that has to fight the aliens to win. Maybe the astronaut as well as the alien could be in spaceships shooting bullets. Or they could be doing kung fu on the moon. Or they could be flying through space chasing each other. Or they could be doomed in space and fighting over a slice of pizza. The possibilities are endless! :)