Discuss Scratch

1Torchic1
Scratcher
5 posts

How do i make a stopwatch??

im working in marble blast 2d. im working on a level but im stuck at time.
it goes like ths (look up)
https://www.youtube.com/watch?v=tRYgycfFRmE
it looks like this
oh and it uses a image numbers (second and third)
ajskateboarder
Scratcher
1000+ posts

How do i make a stopwatch??

Have you checked out the timer blocks?

(timer)
reset timer

If you want to use a seperate timer from those blocks, try these workarounds: https://en.scratch-wiki.info/wiki/Timer_(value)#Alternatives

With that timer, you could round the timer to get the digits, then create the image timer like so

set [time v] to (round (timer))
set [i v] to (1)
repeat (length of (time))
switch costume to (letter (i) of (time))
change x by (20)
change [i v] by (1)
end

Last edited by ajskateboarder (April 11, 2025 13:04:25)

1Torchic1
Scratcher
5 posts

How do i make a stopwatch??

ive checked the workarounds, i dont understand
will test it anyways
1Torchic1
Scratcher
5 posts

How do i make a stopwatch??

ajskateboarder wrote:

Have you checked out the timer blocks?

(timer)
reset timer

If you want to use a seperate timer from those blocks, try these workarounds: https://en.scratch-wiki.info/wiki/Timer_(value)#Alternatives

With that timer, you could round the timer to get the digits, then create the image timer like so

set [time v] to (round (timer))
set [i v] to (1)
repeat (length of (time))
switch costume to (letter (i) of (time))
change x by (20)
change [i v] by (1)
end
i dont understand
its been a while since ive used scratch
i prob forgot things

Powered by DjangoBB