Discuss 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.

Last edited by BigNate469 (May 6, 2024 15:53:02)

Codeingit
Scratcher
500+ posts

Why Does (Message) Crash Scratch?

BigNate469 wrote:

What do you mean? What message?
They are asking why does
when I start as a clone
create clone of [ v]
delete this clone
Crash Scratch
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.
_kethan_110511_
Scratcher
95 posts

Why Does (Message) Crash Scratch?

Codeingit wrote:

BigNate469 wrote:

What do you mean? What message?
They are asking why does
when I start as a clone
create clone of [ v]
delete this clone
Crash Scratch
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
uhh, I just tried that in a Scratch project, and it didn't crash for me
BigNate469
Scratcher
1000+ posts

Why Does (Message) Crash Scratch?

_kethan_110511_ wrote:

Codeingit wrote:

BigNate469 wrote:

What do you mean? What message?
They are asking why does
when I start as a clone
create clone of [ v]
delete this clone
Crash Scratch
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
uhh, I just tried that in a Scratch project, and it didn't crash for me
Good for you. You have a fast computer and/or browser and/or RAM.
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?

Create-Scratch101 wrote:

To bypass, you can use this script:

when I start as a clone
create clone of [Myself v]
wait (0) secs
delete this clone
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 refresh
CST1229
Scratcher
1000+ posts

Why Does (Message) Crash Scratch?

_kethan_110511_ wrote:

(#6)
uhh, I just tried that in a Scratch project, and it didn't crash for me
It doesn't crash Scratch (and by that I mean it doesn't bring up the blue crash screen), it just freezes it.
donotforgetmycode
Scratcher
1000+ posts

Why Does (Message) Crash Scratch?

_kethan_110511_ wrote:

uhh, I just tried that in a Scratch project, and it didn't crash for me
Did you also include this script?
when green flag clicked
create clone of [myself v]
plantskym2
Scratcher
500+ posts

Why Does (Message) Crash Scratch?

donotforgetmycode wrote:

_kethan_110511_ wrote:

uhh, I just tried that in a Scratch project, and it didn't crash for me
Did you also include this script?
when green flag clicked
create clone of [myself v]
He did, he was just coding in the backdrop.
donotforgetmycode
Scratcher
1000+ posts

Why Does (Message) Crash Scratch?

plantskym2 wrote:

He did, he was just coding in the backdrop.
how do you know that?

Powered by DjangoBB