I've been working on an extremely complex game lately, and I've noticed ridiculous amounts of lag that continually increase with every script I add. Now I know this is normal, seeing as scratch isn't made for the processing of such complex scriptwork, but I've noticed the problem seems to be focused on a few main areas: Graphic editing, Sound functioning, and multi-layered [blocks]<if>[/blocks] scripts. As scratch gets more popular, more people will be creating scripts and projects like these, and the need for an improvement will increase. My recommendation, seeing as over half of most of my scratch files are taken up by music and graphic effects such as [blocks]<change[ ]effect by( [/blocks] blocks, simply give scratch a larger graphics and sound processing unit, or some form of programm to dramatically compress the sound. I aknowlege that this would probably take a conciderable amount of time and effort, but I beleive it would be worth it in the long run of scratch popularity. I look forward to seeing improvements made on this subject in later versions of scratch, and hope it will improve the quality of more complex projects on scratch. Scratch on,
~Delocuro~
Offline
Yeah, my project is so bad that it takes 5 minutes just to start the editor and save
My project also lags online because of the amount of costumes but offline its fine
Offline the only problems I have is with the editor
Offline
I've also had lag problems, when I was developing my now discontinued project Scratch-DOS. I'm guessing it has something to do with either the memory used to store the scripts, or the rendering of the block's graphics. Most probably last one, because typed programming languages don't seem to get lag, at all.
Offline
I think the problem lays in how scratch is designed.
- Scratch is not compiled, but interpreted and can be changed while running. (Fine, that's the main idea of Scratch and thus should be kept)
- There is no "layer" below the blocks. You aren't editing some kind oftext code "below" the blocks, there only are blocks and scratch runs those blocks. Maybe there should be a less memory consuming layer added?
- Scratch does screen refreshes all the time also when not necessary.
Offline