Discuss Scratch
- Discussion Forums
- » Show and Tell
- » How to make a timer
- kwblsgw
-
Scratcher
5 posts
How to make a timer
Let's say you are playing a dodging game and you lose, but you want to know how much time you survived. To do that you need to make a timer. This is how:
-First create a timer for all sprites in the rocketship sprite
-When green flag clicked repeat until rocketship touches asteroids (just an example)
wait 1 second, change timer by 1.
That's it!
-First create a timer for all sprites in the rocketship sprite
-When green flag clicked repeat until rocketship touches asteroids (just an example)
wait 1 second, change timer by 1.
That's it!

when green flag clicked
set [ time] to [0]
repeat until <touching [ asteroids] ?>
wait (1) secs
change [ time] by (1)
end
Last edited by kwblsgw (Aug. 30, 2024 12:26:17)
- Valeo24
-
Scratcher
100+ posts
How to make a timer
Ok… this is the help with scripts… do you need something?
- kwblsgw
-
Scratcher
5 posts
How to make a timer
Ok… this is the help with scripts… do you need something?no, sorry might have posted it in the wrong section. It's my first time using it don't blame me
- SpyCoderX
-
Scratcher
1000+ posts
How to make a timer
There isn't really a forum for tutorials. You could use the Show and tell forum though.Ok… this is the help with scripts… do you need something?no, sorry might have posted it in the wrong section. It's my first time using it don't blame me
I recommend you don't remake this post there, instead just report your post to be moved to “Show and Tell” and the Scratch Team will move it for you.
- kwblsgw
-
Scratcher
5 posts
How to make a timer
ok cause someone wanted my help to do it, so that's why I made this. And wdym scratch will move it for me?There isn't really a forum for tutorials. You could use the Show and tell forum though.Ok… this is the help with scripts… do you need something?no, sorry might have posted it in the wrong section. It's my first time using it don't blame me
I recommend you don't remake this post there, instead just report your post to be moved to “Show and Tell” and the Scratch Team will move it for you.
- SpyCoderX
-
Scratcher
1000+ posts
How to make a timer
The Scratch Team is the name for the group of people who develop and operate scratch.ok cause someone wanted my help to do it, so that's why I made this. And wdym scratch will move it for me?There isn't really a forum for tutorials. You could use the Show and tell forum though.Ok… this is the help with scripts… do you need something?no, sorry might have posted it in the wrong section. It's my first time using it don't blame me
I recommend you don't remake this post there, instead just report your post to be moved to “Show and Tell” and the Scratch Team will move it for you.
- kwblsgw
-
Scratcher
5 posts
How to make a timer
I know that nvmThe Scratch Team is the name for the group of people who develop and operate scratch.ok cause someone wanted my help to do it, so that's why I made this. And wdym scratch will move it for me?There isn't really a forum for tutorials. You could use the Show and tell forum though.Ok… this is the help with scripts… do you need something?no, sorry might have posted it in the wrong section. It's my first time using it don't blame me
I recommend you don't remake this post there, instead just report your post to be moved to “Show and Tell” and the Scratch Team will move it for you.
- Discussion Forums
- » Show and Tell
-
» How to make a timer