This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-09-19 15:25:01

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Timing Question

I have it where I am timing how long it takes before game over and the I don't know how to get the timer to stop once the game is over.  Can someone help with this?  Thanks!

Offline

 

#2 2010-09-19 15:26:47

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: Timing Question

You do not need 2 topics on the exact same thing, if one is falling just post on it to bump it up if it is not already answered.

Offline

 

#3 2010-09-19 15:52:47

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Timing Question

Have a variable that is set to it and shown right before the end.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#4 2010-09-19 16:35:56

Wh00z
New Scratcher
Registered: 2010-09-17
Posts: 3

Re: Timing Question

Once you loose, set timer to a variabel. This wont stop the timer, but you will get the time it took before you lost.
<when I receive[ lost
<set{ variabel  }to( <{<timer> }>

Offline

 

#5 2010-09-20 05:48:48

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: Timing Question

Fixing Wh00z's script:
[blocks]
<when I receive[ lost
<set{ variable }to( <timer>
[/blocks]

Offline

 

Board footer