Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Why Does (Message) Crash Scratch?
- kirbers
-
Scratcher
11 posts
Why Does (Message) Crash Scratch?
when I start as a clone
create clone of [ v]
delete this clone
Last edited by kirbers (May 6, 2024 18:12:33)
- BigNate469
-
Scratcher
1000+ posts
Why Does (Message) Crash Scratch?
What do you mean? What message?
Nevermind, misread OP. See below post.
Nevermind, misread OP. See below post.
Last edited by BigNate469 (May 6, 2024 15:53:02)
- Codeingit
-
Scratcher
500+ posts
Why Does (Message) Crash Scratch?
What do you mean? What message?They are asking why does
when I start as a cloneCrash Scratch
create clone of [ v]
delete this clone
To OP: That crashes Scratch because the blocks causes the Scratch project to loop infinitely as the blocks are making Scratch rapidly start, create, and delete clones, resulting in Scratch not being able to finish the script, causing the project to freeze and crash Scratch
Last edited by Codeingit (May 6, 2024 17:10:05)
- wnmy
-
Scratcher
100+ posts
Why Does (Message) Crash Scratch?
- but i was wrooooonnnggg no i never meant anybody harm - /lyr
Last edited by wnmy (May 6, 2024 15:19:32)
- GlitchedThrough
-
New Scratcher
1000+ posts
Why Does (Message) Crash Scratch?
Basically, to write to memory, it is a bit quicker than slating memory to be cleared. When making a clone, it allocates this to memory that the browser has already asked the operating system to use, which is fine. However, to delete a clone, it tells the browser “Hey, can you remove this information from RAM?”
In this, the browser passes this onto the OS. However, the OS can’t keep up with this. So, instead, it takes all that RAM from the browser, which it then clears and returns. This, in turn, crashes the page.
In this, the browser passes this onto the OS. However, the OS can’t keep up with this. So, instead, it takes all that RAM from the browser, which it then clears and returns. This, in turn, crashes the page.
- _kethan_110511_
-
Scratcher
95 posts
Why Does (Message) Crash Scratch?
uhh, I just tried that in a Scratch project, and it didn't crash for meWhat do you mean? What message?They are asking why doeswhen I start as a cloneCrash Scratch
create clone of [ v]
delete this clone
To OP: That crashes Scratch because the blocks causes the Scratch project to loop infinitely as the blocks are making Scratch rapidly start, create, and delete clones, resulting in Scratch not being able to finish the script, causing the project to freeze and crash Scratch
- BigNate469
-
Scratcher
1000+ posts
Why Does (Message) Crash Scratch?
Good for you. You have a fast computer and/or browser and/or RAM.uhh, I just tried that in a Scratch project, and it didn't crash for meWhat do you mean? What message?They are asking why doeswhen I start as a cloneCrash Scratch
create clone of [ v]
delete this clone
To OP: That crashes Scratch because the blocks causes the Scratch project to loop infinitely as the blocks are making Scratch rapidly start, create, and delete clones, resulting in Scratch not being able to finish the script, causing the project to freeze and crash Scratch
- Create-Scratch101
-
Scratcher
500+ posts
Why Does (Message) Crash Scratch?
To bypass, you can use this script:
when I start as a clone
create clone of [Myself v]
wait (0) secs
delete this clone
Last edited by Create-Scratch101 (May 6, 2024 18:33:35)
- BigNate469
-
Scratcher
1000+ posts
Why Does (Message) Crash Scratch?
To bypass, you can use this script:That's because that waits 1/30th of a second, since the minimum framerate for Scratch is 30fps, and the wait block forces a screen refreshwhen I start as a clone
create clone of [Myself v]
wait (0) secs
delete this clone
- donotforgetmycode
-
Scratcher
1000+ posts
Why Does (Message) Crash Scratch?
uhh, I just tried that in a Scratch project, and it didn't crash for meDid you also include this script?
when green flag clicked
create clone of [myself v]
- plantskym2
-
Scratcher
500+ posts
Why Does (Message) Crash Scratch?
He did, he was just coding in the backdrop.uhh, I just tried that in a Scratch project, and it didn't crash for meDid you also include this script?when green flag clicked
create clone of [myself v]
- donotforgetmycode
-
Scratcher
1000+ posts
Why Does (Message) Crash Scratch?
He did, he was just coding in the backdrop.how do you know that?
- Discussion Forums
- » Questions about Scratch
-
» Why Does (Message) Crash Scratch?