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

#1 2009-11-16 16:04:31

UGWG
Scratcher
Registered: 2009-11-02
Posts: 40

Every _ secs Block

This would be very convenient for certain kinds of projects. Post your opinion. Please say yes or no, and why. No maybe yes's or I don't knows or something like that. For example, every 5 seconds you could switch to a random costume. You could just use a repeat until block, but that always makes it more complicated!

Offline

 

#2 2009-11-16 16:20:58

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: Every _ secs Block

We NEED that  big_smile  Great idea, very useful. It would be good for a variety of projects.


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#3 2009-11-16 17:02:58

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Every _ secs Block

Honestly you really could use a repeat block. It makes it only a little additional lag, so this is not very helpful in my opinion. Just my opinion...


http://i.imgur.com/WBkM2QQ.png

Offline

 

#4 2009-11-16 23:50:28

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Every _ secs Block

I agree with Lucario... just do what he says or use a forever:

forever
   what you want it to do
   what you want it to do
   what you want it to do
end_forever


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#5 2009-11-17 01:23:27

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Every _ secs Block

Use:
forever
wait 2 sec
do thing
end forever

Does it every 2 seconds.  smile


Hai.

Offline

 

#6 2009-11-17 04:05:35

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Every _ secs Block

fg123 wrote:

Use:
forever
wait 2 sec
do thing
end forever

Does it every 2 seconds.  smile

Oops, forgot the wait block in my rush.  tongue


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#7 2009-11-17 04:13:39

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Every _ secs Block

It's not neccessary... and it's really easy to get around.


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#8 2009-11-17 12:37:00

nikkiperson2
Scratcher
Registered: 2007-12-08
Posts: 1000+

Re: Every _ secs Block

You could use repeat, and put 'wait __ seconds' and then the action that you want to happen every couple of seconds.


http://i.imgur.com/h9L7Ktb.pnghttp://i.imgur.com/Hz1Cg2s.png

Offline

 

Board footer