Discuss Scratch

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



AlexK16
Scratcher
42 posts

Wait second block is broken

CST1229 wrote:

Scratch waits a frame when using wait 0 seconds, this is because there is always an extra frame wait after using a wait block.
I know, I just need them to fix it.
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…
apple502j
Scratcher
1000+ posts

Wait second block is broken

This is working as intended.

署名は、ディスカッションフォーラムの機能である。署名は、その人のすべての投稿の下部に追加される。署名は、BBCodeで記述できる。 署名を追加/変更/削除したい場合は、ディスカッションフォーラムのホームの一番下に行き、「Change your signature」を押す。署名の大きさは150pxまでである。これには、改行、画像を含む。- Japanese Scratch-Wiki 「署名
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.







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

Powered by DjangoBB