As you probably know, Scratch is quite slow. I think it'd be a good idea if we post our projects and people look at the code/methods to see if they can optimize it.
I'm pretty good at it, so I'll take a look at projects posted here.
(Although don't post a piece of junk, just to get a view from me)
Projects must be somewhat small, I'm not going to load a game that's huge because of a sound file.
Offline
Scratch is very slow.
Which means that you can't do hundredths or thousandths of seconds in your timer projects. :'(
Offline
Be sure to post a link to your project, so more people will take a look at it.
Offline
By the way, I just have a few tips on making projects speedy:
#1 - DON'T use repeat (unless you REALLY REALLY have to)
Use stacks of the same operation.
#2 - Don't waste time with reporters
If you use the same reporters a bunch of time in a small amount of code, I believe (someone can correct me if I'm wrong) that it is faster to set a variable and use that variable's reporter.
#3 - DON'T use 'broadcast'
The 'broadcast' and 'receive' blocks are very slow.
I shall add more...
Tip: If you're making a game, resist the temptation to tell users to run your project in turbo speed. Turbo speed is designed so that it does less repainting and more processing, so there will be small (but EXTREMELY noticeable) gaps between each repaint and movement (among other things) will not be smooth.
Last edited by nXIII (2010-03-25 14:13:44)
Offline