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

#1 2011-10-01 20:06:56

1675
Scratcher
Registered: 2009-06-17
Posts: 21

timers

multiple timers, sprite specific timers

Offline

 

#2 2011-10-01 20:24:43

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Re: timers

you need to explain more this make relativly no scence plz explain


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#3 2011-10-01 20:33:57

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: timers

Slayerrobe, your post didn't make any sense either  tongue

but 1675, I suggest you elaborate or else no one will know what you're talking about, and then your suggestion won't be approved.

Offline

 

#4 2011-10-01 20:58:23

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: timers

slayerrobe7 wrote:

you need to explain more this make relativly no scence plz explain

kayybee wrote:

Slayerrobe, your post didn't make any sense either  tongue

but 1675, I suggest you elaborate or else no one will know what you're talking about, and then your suggestion won't be approved.

Actually, I understood the original (albeit brief) post.  smile

In Scratch, there is only one timer which is like a global variable for all sprites. The user wants the ability to have more than one timer, probably such that each sprite has their own timer.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#5 2011-10-02 01:52:13

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Re: timers

use veriables


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#6 2011-10-02 02:47:32

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: timers

The problem is, changing a variable (let's say you do: forever wait .1 sec, change timer by .1) takes up time (a fraction of a second) after several minutes, your timer will be slow. So, you can't just use and change variables sadly...

Offline

 

#7 2011-10-02 03:45:37

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: timers

kayybee wrote:

The problem is, changing a variable (let's say you do: forever wait .1 sec, change timer by .1) takes up time (a fraction of a second) after several minutes, your timer will be slow. So, you can't just use and change variables sadly...

he meant save the current time in a variable and use timer-mytimer or whatever.
use lists if you really need a lot of 'em.  smile
mods, pls close this

Offline

 

#8 2011-10-05 19:25:27

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: timers

roijac wrote:

kayybee wrote:

The problem is, changing a variable (let's say you do: forever wait .1 sec, change timer by .1) takes up time (a fraction of a second) after several minutes, your timer will be slow. So, you can't just use and change variables sadly...

he meant save the current time in a variable and use timer-mytimer or whatever.
use lists if you really need a lot of 'em.  smile
mods, pls close this

You can only ask for your own topics to be closed, you can't ask mods to close down topics that are not yours.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#9 2011-10-05 20:36:55

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: timers

Use:

set {variable  v} to ((timer) + (number)).

Offline

 

Board footer