Discuss Scratch

Maltion
Scratcher
100+ posts

Make the Scratch editor less laggy when working with large projects

I am currently working on a project that is 60 MB large, and it is very hard to edit without turbowarp. However it also uses cloud variables, so i also need the scratch editor, but it is so laggy than even with the project stopped it takes 30 seconds to switch between objects. My computer has an intel core i7 with 16 gb ram, so i don't think my specs are the problem. I saw that turbowarp uses something called block culling to optimize, so i was wondering if an addon to make it do the same could be added, it would be very useful. I'm also aware this got suggested before but it got completly ignored (and i don't mean rejected, just ignored, no one decided to read it).

And before you ask “If you're working on projects that are that big why are you not using Unity?” let me make you know, that i don't want to.
“Why not make small projects” i don't want to stop working on the thing i was coding the last 4 months.

simply don't search for excuses to not make it. think of how good is that. i haven't seen something added to scratch from suggestions in years.
EngineerRunner
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

how do they make it less laggy? do you know the first thing about the scratch codebase, and can you suggest exactly what should be optimised? if not, then don't get angry at ST for not doing it.
Maltion
Scratcher
100+ posts

Make the Scratch editor less laggy when working with large projects

EngineerRunner wrote:

how do they make it less laggy? do you know the first thing about the scratch codebase, and can you suggest exactly what should be optimised? if not, then don't get angry at ST for not doing it.
You see, turbowarp uses a thing called block culling. It works by not rendering the blocks that are not being shown on the editor making it faster. It is very simple, and the only excuse to not add it, is being lazy.

Are you telling me that it is so hard that a website that managed to make a community of projects and know the basics of javascript can't do that?
gdpr7314264727b19c01a53ed58b
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Maltion wrote:

(#3)
It is very simple, and the only excuse to not add it, is being lazy.
How about you give the direct file on the github repo and show how simple it is rather than call it simple?
Also, say it as lazy - There exists moderation, sure, thats to ST, not the engineers, but still.
-Rodri
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Maltion wrote:

You see, turbowarp uses a thing called block culling.
just because turbowarp has it doesn't mean scratch has to

Maltion wrote:

and the only excuse to not add it, is being lazy.
what? no it isn't.

Maltion wrote:

Are you telling me that it is so hard that a website that managed to make a community of projects and know the basics of javascript can't do that?

Scratch is a website only funded by donations. Not everything can by implemented by the snap of a finger.



Scratch's limitations don't allow projects larger than 5MB (json and around 20,000 blocks), and most projects can stay under that limit. 60MB is very large, so idk what you are making.




Last edited by -Rodri (Dec. 23, 2023 19:45:47)

Maltion
Scratcher
100+ posts

Make the Scratch editor less laggy when working with large projects

-Rodri wrote:

Maltion wrote:

You see, turbowarp uses a thing called block culling.
just because turbowarp has it doesn't mean scratch has to

Maltion wrote:

and the only excuse to not add it, is being lazy.
what? no it isn't.

Maltion wrote:

Are you telling me that it is so hard that a website that managed to make a community of projects and know the basics of javascript can't do that?

Scratch is a website only funded by donations. Not everything can by implemented by the snap of a finger.



Scratch's limitations don't allow projects larger than 5MB (json and around 20,000 blocks), and most projects can stay under that limit. 60MB is very large, so idk what you are making.
bruh what my project is stored on the website and nothing has happened. and as i said block culling is very easy to do. if it requires donations why do we even have a suggestions forum?
gdpr7314264727b19c01a53ed58b
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Maltion wrote:

(#6)
and as i said block culling is very easy to do.

Zydrolic wrote:

(#4)
How about you give the direct file on the github repo and show how simple it is rather than call it simple?
Also, say it as lazy - There exists moderation, sure, thats to ST, not the engineers, but still.
-Rodri
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Maltion wrote:

bruh what my project is stored on the website and nothing has happened. and as i said block culling is very easy to do. if it requires donations why do we even have a suggestions forum?

Yes, it is stored, but as you said, it's very laggy. Just because something is easy doesn't mean it has to be done. We have a suggestions forum for suggesting things that will make Scratch a better site. Scratch might be more willing to use their money to implement things that are more of a priority. Most suggestions aren't top priority.
-Rodri
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects


Maltion wrote:

And before you ask “If you're working on projects that are that big why are you not using Unity?” let me make you know, that i don't want to.

Last edited by -Rodri (Dec. 24, 2023 06:25:09)

Maltion
Scratcher
100+ posts

Make the Scratch editor less laggy when working with large projects

-Rodri wrote:

Maltion wrote:

bruh what my project is stored on the website and nothing has happened. and as i said block culling is very easy to do. if it requires donations why do we even have a suggestions forum?

Yes, it is stored, but as you said, it's very laggy. Just because something is easy doesn't mean it has to be done. We have a suggestions forum for suggesting things that will make Scratch a better site. Scratch might be more willing to use their money to implement things that are more of a priority. Most suggestions aren't top priority.
that's what is always said on every suggestion. this should be a priority. Just imagine, someone could make a very big project on their powerful computer and put a lot of scripts to make anyone's browsers crash if they have a computer with a low amount of resources.

it could easily be used to make someone be unable to remix projects.
i don't think scratch team would like that.
Maltion
Scratcher
100+ posts

Make the Scratch editor less laggy when working with large projects

-Rodri wrote:

Maltion wrote:

And before you ask “If you're working on projects that are that big why are you not using Unity?” let me make you know, that i don't want to.
the only excuse to not to, is being “lazy” In the same way Scratch doesn't have block culling, right?
No. I don't use Unity because it doesn't feels the same as Scratch. There are no comments, loves and favorites on it, it's simply code and publish and make money. However on scratch you make projects for fun and you can see everyone's reaction.

And from what i'm seeing you seem to be trying to make this suggestion fail.
EngineerRunner
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Maltion wrote:

EngineerRunner wrote:

how do they make it less laggy? do you know the first thing about the scratch codebase, and can you suggest exactly what should be optimised? if not, then don't get angry at ST for not doing it.
You see, turbowarp uses a thing called block culling. It works by not rendering the blocks that are not being shown on the editor making it faster. It is very simple, and the only excuse to not add it, is being lazy.

Are you telling me that it is so hard that a website that managed to make a community of projects and know the basics of javascript can't do that?
go on then, you make a PR. if you don't do it, then you're just lazy. like come on, you should know the basics of javascript! give us some code snippets then, how exactly should ST go about fixing this?

if you can't do it, then you shouldn't call ST lazy. its just bloody rude and disrespectful.
-Rodri
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Maltion wrote:

-Rodri wrote:

Maltion wrote:

And before you ask “If you're working on projects that are that big why are you not using Unity?” let me make you know, that i don't want to.
the only excuse to not to, is being “lazy” In the same way Scratch doesn't have block culling, right?
No. I don't use Unity because it doesn't feels the same as Scratch. There are no comments, loves and favorites on it, it's simply code and publish and make money. However on scratch you make projects for fun and you can see everyone's reaction.

And from what i'm seeing you seem to be trying to make this suggestion fail.



I just don't see why we need this suggestion, most projects will NEVER get this big, Scratch isn't made for huge projects.

Last edited by -Rodri (Dec. 24, 2023 06:25:46)

Maltion
Scratcher
100+ posts

Make the Scratch editor less laggy when working with large projects

-Rodri wrote:

Maltion wrote:

-Rodri wrote:

Maltion wrote:

And before you ask “If you're working on projects that are that big why are you not using Unity?” let me make you know, that i don't want to.
the only excuse to not to, is being “lazy” In the same way Scratch doesn't have block culling, right?
No. I don't use Unity because it doesn't feels the same as Scratch. There are no comments, loves and favorites on it, it's simply code and publish and make money. However on scratch you make projects for fun and you can see everyone's reaction.

And from what i'm seeing you seem to be trying to make this suggestion fail.

You said you didn't use unity because “i don't want to.” I apologize for my “misunderstanding”

I just don't see why we need this suggestion, most projects will NEVER get this big, Scratch isn't made for huge projects.
all my unshared proejcts are that big. i have friends who use scratch and they experience the same problem. On a server of an application used for sending messages that i'm not allowed to say the name, i talked about this and everyone agreed.

this problem is experienced by a lot of people.
unmissable
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Maltion wrote:

-Rodri wrote:

Maltion wrote:

-Rodri wrote:

Maltion wrote:

And before you ask “If you're working on projects that are that big why are you not using Unity?” let me make you know, that i don't want to.
the only excuse to not to, is being “lazy” In the same way Scratch doesn't have block culling, right?
No. I don't use Unity because it doesn't feels the same as Scratch. There are no comments, loves and favorites on it, it's simply code and publish and make money. However on scratch you make projects for fun and you can see everyone's reaction.

And from what i'm seeing you seem to be trying to make this suggestion fail.

You said you didn't use unity because “i don't want to.” I apologize for my “misunderstanding”

I just don't see why we need this suggestion, most projects will NEVER get this big, Scratch isn't made for huge projects.
all my unshared proejcts are that big. i have friends who use scratch and they experience the same problem. On a server of an application used for sending messages that i'm not allowed to say the name, i talked about this and everyone agreed.

this problem is experienced by a lot of people.
source
Maltion
Scratcher
100+ posts

Make the Scratch editor less laggy when working with large projects

i can't send images
unmissable
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Maltion wrote:

i can't send images
Yeah you need cubeupload
EDawg2011
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

Huge support. I don't want to go through the pain of the editor lagging a bunch when I'm trying to mess with a big project.

Last edited by EDawg2011 (Dec. 23, 2023 20:39:55)

RecessFailsOffical
Scratcher
1000+ posts

Make the Scratch editor less laggy when working with large projects

The ST can't just make things “less laggy”. Deal with it. That's how life works.

Anyway, the ST has some severe financial problems regarding Scratch as a non-profit organization, hence why server outages are more likely since they “moved away” from MIT.
Maltion
Scratcher
100+ posts

Make the Scratch editor less laggy when working with large projects

nevermind a popular extension i can't name (acronym is (removed by moderator - please don't name browser extensions)) said it's a good idea and they're going to code an addon for it.

Last edited by cosmosaura (Dec. 24, 2023 05:06:30)

Powered by DjangoBB