Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Wait second block is broken
- AlexK16
- Scratcher
42 posts
Wait second block is broken
When making an animation, using the wait 0 seconds block makes the frames go slower than using a no wait second block, even though they are the same. I know why, I just need scratch to fix it.
AlexK16
Semi-active forum user || Active scratch user || Joined Thu, Apr 26, 2018
I never actually agreed to make a signature…
- AlexK16
- Scratcher
42 posts
Wait second block is broken
bump
AlexK16
Semi-active forum user || Active scratch user || Joined Thu, Apr 26, 2018
I never actually agreed to make a signature…
- CST1229
- Scratcher
1000+ posts
Wait second block is broken
Scratch waits a frame when using wait 0 seconds, this is because there is always an extra frame wait after using a wait block.
This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023
RIP assets image hosting. 2013?-2023
- AlexK16
- Scratcher
42 posts
Wait second block is broken
I know, I just need them to fix it. Scratch waits a frame when using wait 0 seconds, this is because there is always an extra frame wait after using a wait block.
Edit: Perhaps preventing users from typing just a zero or blank into a wait second block?
Last edited by AlexK16 (June 24, 2021 14:11:26)
AlexK16
Semi-active forum user || Active scratch user || Joined Thu, Apr 26, 2018
I never actually agreed to make a signature…
- Chiroyce
- Scratcher
1000+ posts
Wait second block is broken
The wait block “yields” after waiting that amount of time, yield time is the time given to update the screen. The yield time for Scratch is 0.03 seconds.
That's why people say Scratch runs at 30FPS, because 1 second divided by 0.03 is ~30.33. So it actually waits 0.03 seconds, instead of 0.
That's why people say Scratch runs at 30FPS, because 1 second divided by 0.03 is ~30.33. So it actually waits 0.03 seconds, instead of 0.
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- Discussion Forums
- » Bugs and Glitches
- » Wait second block is broken