we have that....... only more simplistic. its called a gallery and many different scratchers can share there projects in the galleries to get more views or to get into the company gallery or whatever!
if this isnt what your talking about then i guess i cant help.
Last edited by torterra (2008-06-09 16:07:29)
Offline
I think it's a little different. As am example, say you click on numbers and you are able to write a method to do some arithmetic that is not already included with scratch, and you can reuse it in your program , or you are able to write your own control etc
Offline
One possibility is to use a sprite for that. You can always import/export sprites, kind of like what you do when you #include libraries in other languages.
Offline
andresmh wrote:
One possibility is to use a sprite for that. You can always import/export sprites, kind of like what you do when you #include libraries in other languages.
Using a sprite as the vehicle for a library is a clever idea. Unfortunately, it carries with it the same problem that occurs when using #include in C or C++; bloated source code.
If you write a bunch of scripts for a sprite where each script performs a particular task and then import the sprite, it seems that you would be importing all of the scripts regardless of whether or not you need them all for that project. I don't know what the penalty is for having a large number of unused scripts in a Scratch project, but I would suspect that there may be a speed penalty and surely there is a space penalty.
A C# or Java-like solution that only imports those parts of the library that are needed for that particular project would be preferable, but may not be possible in Scratch.
Last edited by dbal (2008-06-11 02:18:41)
Offline