Discuss Scratch

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!

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

Valeo24 wrote:

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

kwblsgw wrote:

Valeo24 wrote:

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

There isn't really a forum for tutorials. You could use the Show and tell forum though.

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

SpyCoderX wrote:

kwblsgw wrote:

Valeo24 wrote:

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

There isn't really a forum for tutorials. You could use the Show and tell forum though.

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.
ok cause someone wanted my help to do it, so that's why I made this. And wdym scratch will move it for me?
SpyCoderX
Scratcher
1000+ posts

How to make a timer

kwblsgw wrote:

SpyCoderX wrote:

kwblsgw wrote:

Valeo24 wrote:

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

There isn't really a forum for tutorials. You could use the Show and tell forum though.

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.
ok cause someone wanted my help to do it, so that's why I made this. And wdym scratch will move it for me?
The Scratch Team is the name for the group of people who develop and operate scratch.
kwblsgw
Scratcher
5 posts

How to make a timer

SpyCoderX wrote:

kwblsgw wrote:

SpyCoderX wrote:

kwblsgw wrote:

Valeo24 wrote:

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

There isn't really a forum for tutorials. You could use the Show and tell forum though.

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.
ok cause someone wanted my help to do it, so that's why I made this. And wdym scratch will move it for me?
The Scratch Team is the name for the group of people who develop and operate scratch.
I know that nvm

Powered by DjangoBB