Discuss Scratch

Kangaroo135
Scratcher
59 posts

What is the smallest amount of time you can put in the "wait" block?

I ask a lot of random questions. Here's another one!
What is the smallest amount of time you can put in the “wait” block?
This one:
waitsecs
PrincessFlowerTV
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

As far as I know:
wait0.01secs
-Exphire-
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

I once tried
wait0.0000000000000000000000000000001secs
but I think it just ran the same speed as
wait0.01secs
EDIT: wrong number

Last edited by -Exphire- (July 31, 2020 14:31:53)

RL1123
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

It's
wait1/30secs
Because scratch runs at 30 FPS. Anything lower will automatically wait 0.03 seconds.
j3r0_plays
Scratcher
100+ posts

What is the smallest amount of time you can put in the "wait" block?

As far as i know, sometimes you use
wait0secs
in very fast scripts to allow the browser to catch up. Basically any script is a wait script of a some sort. 1/30 secs is basically the lowest in a wait script, as scratch is 30 fps.
RL1123
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

j3r0_plays wrote:

As far as i know, sometimes you use
wait0secs
in very fast scripts to allow the browser to catch up. Basically any script is a wait script of a some sort. 1/30 secs is basically the lowest in a wait script, as scratch is 30 fps.
As what I said.
scratchykit5743
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

i once put in a picosecond…
RL1123
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

scratchykit5743 wrote:

i once put in a picosecond…
Which waits for 0.03 seconds.
HyperGamerStudios
Scratcher
100+ posts

What is the smallest amount of time you can put in the "wait" block?

Technically 0 is the smallest number and the highest number being unlimited
Maximouse
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

You can put in 0 and it waits 1 frame (1/30 seconds).
dftyu
Scratcher
500+ posts

What is the smallest amount of time you can put in the "wait" block?

j3r0_plays wrote:

As far as i know, sometimes you use
wait0secs
in very fast scripts to allow the browser to catch up. Basically any script is a wait script of a some sort. 1/30 secs is basically the lowest in a wait script, as scratch is 30 fps.
does scratch not have fps optimizations?
RL1123
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

dftyu wrote:

j3r0_plays wrote:

As far as i know, sometimes you use
wait0secs
in very fast scripts to allow the browser to catch up. Basically any script is a wait script of a some sort. 1/30 secs is basically the lowest in a wait script, as scratch is 30 fps.
does scratch not have fps optimizations?
No.
fdreerf
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

Well, technically, you can put whatever number you want in it, so really it's negative infinity.
junaayd
Scratcher
70 posts

What is the smallest amount of time you can put in the "wait" block?

-Exphire- wrote:

I once tried
wait0.0000000000000000000000000000001secs
but I think it just ran the same speed as
wait0.01secs
EDIT: wrong number
That is because the wait block thinks that the extra 0s are the tiniest amounts of speed, so it runs faster than 0.01, report that bug on the “Report a Bug” section of the discussion
fdreerf
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

junaayd wrote:

-Exphire- wrote:

I once tried
wait0.0000000000000000000000000000001secs
but I think it just ran the same speed as
wait0.01secs
EDIT: wrong number
That is because the wait block thinks that the extra 0s are the tiniest amounts of speed, so it runs faster than 0.01, report that bug on the “Report a Bug” section of the discussion
No, it is simply because Scratch (or basically any computer) cannot run that fast, so it can only wait the minimum time of a single frame.
j3r0_plays
Scratcher
100+ posts

What is the smallest amount of time you can put in the "wait" block?

Also, based on my knowledge, scratch is MEANT to be slow. Something like forkphorus is not slow.
LankyBox01
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

-∞
wait-∞secs

Last edited by LankyBox01 (Aug. 1, 2020 11:25:00)

cloverCat156
Scratcher
100+ posts

What is the smallest amount of time you can put in the "wait" block?

Kangaroo135 wrote:

I ask a lot of random questions. Here's another one!
What is the smallest amount of time you can put in the “wait” block?
This one:
waitsecs

I think…
wait0secs
LankyBox01
Scratcher
1000+ posts

What is the smallest amount of time you can put in the "wait" block?

LankyBox01 wrote:

-∞
wait-∞secs
This is smaller than 0!
cloverCat156
Scratcher
100+ posts

What is the smallest amount of time you can put in the "wait" block?

LankyBox01 wrote:

-∞
wait-∞secs
THIS IS IMPOSSIBLE

Last edited by cloverCat156 (Aug. 2, 2020 11:23:28)

Powered by DjangoBB