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

#1 2012-02-12 06:15:30

NeilWest
Scratcher
Registered: 2010-01-06
Posts: 1000+

No Delay in Repeat Blocks

This will be a big help for 1s1s games. Using a repeat block will have a delay before the scripts repeat. I suggest there are two repeat blocks:

repeat [instant v]
do something
end
repeat [delay v]
do something
end

Offline

 

#2 2012-02-12 06:59:33

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

Re: No Delay in Repeat Blocks

this is what turbo's for

Offline

 

#3 2012-02-12 07:59:23

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: No Delay in Repeat Blocks

The Flash Player does do the instant already; that's just one of the things that makes it so fast.

Offline

 

#4 2012-02-12 14:03:58

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: No Delay in Repeat Blocks

Support!


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#5 2012-02-13 15:44:39

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: No Delay in Repeat Blocks

Maybe this:

 
repeat [delay v] for (3) secs
do something
end 


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

Board footer