Discuss Scratch

Chrystal-Ice
Scratcher
13 posts

Bad scratch coding bug

So I found an extremely bad scratch coding bug
First, you put the green flag block

when green flag clicked

Then put a forever loop after it

when green flag clicked
forever

end

Then put a broadcast block with anything in it

when green flag clicked
forever

end
broadcast [Anything v]
end

Put the “when recieve block” seperately

when I receive [Anything v]
Enable the “Text to speech” extension

Now connect a “say” block from the text to speech extension to the recieve block, and put anything in it

Now apon starting the project, (Lower your volume A LOT)
The speech will never stop, you may have to delete the project or simply go out of it

(I messed it up Help me I messed it up this is kinda wrong I need to correct this)

Last edited by Chrystal-Ice (May 16, 2024 16:49:21)

Zydrolic
Scratcher
1000+ posts

Bad scratch coding bug

NaB (Not a Bug).

You are putting a broadcast in a forever loop that starts the tts line, which is just repeating permanently.
You can simply delete the blocks and stop the project to stop the audio.
Chrystal-Ice
Scratcher
13 posts

Bad scratch coding bug

Zydrolic wrote:

NaB (Not a Bug).

You are putting a broadcast in a forever loop that starts the tts line, which is just repeating permanently.
You can simply delete the blocks and stop the project to stop the audio.

yes but was it supposed to be in scratch

Last edited by Chrystal-Ice (May 16, 2024 18:08:31)

Powered by DjangoBB