Discuss Scratch

doublecrafters23
Scratcher
13 posts

Lowest wait time?

Just out of curiosity, what is the lowest time you can input in to the wait () secs? for example, a fire rate for a gun thats really fast.
-Vuton-
Scratcher
1000+ posts

Lowest wait time?

Not sure, i don't think there is a lowest wait! I have saw waits before that are like:
wait (00000.5) secs

-Learn more about the wait block - https://wiki.scratch.mit.edu/wiki/Wait_()_Secs_(block)

Hope this helps!

Last edited by -Vuton- (May 6, 2017 15:59:52)

customhacker
Scratcher
1000+ posts

Lowest wait time?

You can actually put 0, which is a 1/30th second delay.
Fupicat
Scratcher
1000+ posts

Lowest wait time?

customhacker wrote:

You can actually put 0, which is a 1/30th second delay.
Yes! I use “wait 0 seconds” a lot since it makes animations smoother.

Last edited by Fupicat (May 6, 2017 17:44:39)

footsocktoe
Scratcher
1000+ posts

Lowest wait time?

doublecrafters23 wrote:

Just out of curiosity, what is the lowest time you can input in to the wait () secs? for example, a fire rate for a gun thats really fast.

You can put any time, even minus, I think, but since the Scratch frame rate is 30fps, that means it cannot actually wait less than 1/30th of a second unless there is nothing in the script that changes the screen. For instance, right after a key press. But in an animation loop, the 1/30th of a second limit would hold.

And for a gun 30fps would be so fast that you couldn't see the individual muzzle blasts or hear them except as a 30cps hum. (An octave lower than powerline hum)

Last edited by footsocktoe (May 6, 2017 23:44:56)

Austinato
Scratcher
1000+ posts

Lowest wait time?

-Vuton- wrote:

Not sure, i don't think there is a lowest wait! I have saw waits before that are like:
wait (00000.5) secs
I'd just like to point out that it should be 0.000005 instead of 00000.5 to be a smaller fraction of time.
00000.5 is equivalent to 0.5.
Piklreek11
New Scratcher
1 post

Lowest wait time?

since your using wait 0, it will make the lowest wait possible because if you wanted no wait you wouldn't have put it in the first place lol.

Powered by DjangoBB