This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-03-25 20:55:40

Delocuro
Scratcher
Registered: 2008-11-08
Posts: 10

Next Version's Server

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

 

#2 2009-03-25 21:02:53

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Next Version's Server

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


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#3 2009-03-25 23:06:36

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Next Version's Server

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.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#4 2009-03-26 08:47:38

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Next Version's Server

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.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

Board footer