Hey,
Working on a project that has a ton of slowing online but downloaded works as intended. Is there anyway to rectify this other than removing number of sprites on screen? Suppose optimizing code might help but I'm still in the learning process.
Any help is greatly appreciated.
Kak
Offline
If you have a "repeat (x) times" block, that can slow it down substantially, rather than if you have a block repeated x times. Even reducing the number of times it's repeated can greatly help. For example, if you need to repeat something 25 times, why not duplicate the method which should be repeated 5 times, then having it repeat 5 times? I've found that can speed up a project substantially.
Also, compressing the sounds and images might help. When you're sharing the project, just check off the "compress sounds and images" checkbox in the corner.
Hope that helped!
Offline
Thanks for the advice! I just attempted to not send it in compressed, helped a little bit but not much. I have a few forever loops going on in this as I'm trying to make it a real time experience. Are there any other suggestions you may have?
Offline
Sorry, I'm afraid that's the extent of my knowledge. One of the worst things about Scratch is it's inconsistency between the online player and the offline player - the difference is a result of the two being written in entirely different languages - Java and Squeak Smalltalk. The upcoming release of Scratch 2.0 should fix these problems because the online and offline mode will both be written in Flash.
Offline